]> git.baikalelectronics.ru Git - kernel.git/commit
m32r/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:13 +0000 (15:23 +0200)
commit028cd19b6a8eb6f11442b7292927a401adfda6c4
tree42e968dfc63de08b8fca7e31f099086f1ab25fa7
parentcf3ebd2f349a3ac1723ae03101bb33e8b0e5e699
m32r/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/m32r/include/asm/uaccess.h