metag/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:15 +0000 (15:23 +0200)
commit8f4e4c1aef356ac4ce67caeffac29af4971fe048
treebc7b64a2eccba11720a891aeb5f50a9a2ecc5d4f
parenta618337e8cd811f07bd660a857d5d9f0201f042b
metag/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: James Hogan <james.hogan@imgtec.com>
arch/metag/include/asm/uaccess.h