nios2/uaccess: fix sparse errors
authorLey Foon Tan <lftan@altera.com>
Wed, 17 Dec 2014 05:53:41 +0000 (13:53 +0800)
committerLey Foon Tan <lftan@altera.com>
Wed, 17 Dec 2014 05:53:41 +0000 (13:53 +0800)
virtio wants to read bitwise types from userspace using get_user.  At the
moment this triggers sparse errors, since the value is passed through an
integer.

Fix that up using __force.

Suggested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Ley Foon Tan <lftan@altera.com>

No differences found