]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa/uaccess: fix sparse errors
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 14 Dec 2014 16:53:10 +0000 (18:53 +0200)
committerChris Zankel <chris@zankel.net>
Tue, 16 Dec 2014 04:14:26 +0000 (20:14 -0800)
commita2699eb6efd4580c37b5270df4afd7600243dbe7
tree1f7599ca56b6591431cb1654f3ec45b2c2db8730
parentc07617734b5cb3467906f1c83ca1cc182385f626
xtensa/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: Chris Zankel <chris@zankel.net>
arch/xtensa/include/asm/uaccess.h