sh/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:21 +0000 (15:23 +0200)
commitcad1c0dfc8961abeb92e5afbfa275b6122501e5f
tree260b73d0c10d33b9678d9dae8c4c3e99ce59870b
parent079f0f269f2a64080d7fa45cf686b02662ff8e36
sh/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/sh/include/asm/uaccess.h