cris/uaccess: fix sparse errors
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 11 Dec 2014 23:56:04 +0000 (01:56 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 13 Jan 2015 13:23:09 +0000 (15:23 +0200)
commit92acb6c2ac16c7ed1383b04055966633607959cd
tree9a9cc9288120a64ae39e2d317695ea77f80655ef
parentf5e0c47ef3293bef8eab634e5849c2559ed48a39
cris/uaccess: fix sparse errors

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.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
arch/cris/include/asm/uaccess.h