CRIS: uaccess: fix sparse errors
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 27 Jan 2015 16:20:10 +0000 (17:20 +0100)
committerJesper Nilsson <jespern@axis.com>
Sat, 14 Feb 2015 17:53:52 +0000 (18:53 +0100)
commit458e3192455547bb4dce27e060c24cc22a2bd87d
tree4dab6f4b2435783415b2f51087af45f970f70f2d
parent10b309767271cf05442d48b38dbe0f79ee8cfb74
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>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/include/asm/uaccess.h