sparc64/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:26 +0000 (15:23 +0200)
commit1d638efce8cc77c1ec838886e9a64f98aa58b780
tree6051e6d5445e3cece947b31cfeadab1efcce85c3
parent9b7accb286982e0df140b3accae8216656b3ef37
sparc64/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_64.h