sparc32/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:23 +0000 (15:23 +0200)
commit9b7accb286982e0df140b3accae8216656b3ef37
tree7ae054999274f93baf5718f6536d8635f052f166
parentcad1c0dfc8961abeb92e5afbfa275b6122501e5f
sparc32/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>
Acked-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/uaccess_32.h