openrisc/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:17 +0000 (15:23 +0200)
commit582a6783c56517b84a06da72e18e1e44a59558e6
treefe72ab19cd4b5b35d214f5849f55591e3c07384e
parent8f4e4c1aef356ac4ce67caeffac29af4971fe048
openrisc/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/openrisc/include/asm/uaccess.h