parisc/uaccess: fix sparse errors
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 6 Jan 2015 15:44:10 +0000 (17:44 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 16 Feb 2015 21:41:27 +0000 (22:41 +0100)
commit876b2a008371663cb66637fde5274f67afef1780
treeff99b630951ce9a127d6104e24ffc678b27b951f
parentcf635f8dfdbfc1bd41332045d51bd2b7144ae01a
parisc/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: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/uaccess.h