]> 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)
commite4d00764e201a5f8f9bcc8392f359b8b56ea7ab0
tree1f7599ca56b6591431cb1654f3ec45b2c2db8730
parentc2923a27f19338d97656933d1c62be1f870825a2
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