]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f524abc8bd5b4976ea2664fb24ea411a47e50e1
tree4dab6f4b2435783415b2f51087af45f970f70f2d
parentb2eca6566ae025584424afb9294ccb73ac513c3a
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