]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69f570387b58246cd98c32737679824bc7acefbd
treebc7b64a2eccba11720a891aeb5f50a9a2ecc5d4f
parentca571071d396b958ec37c57ec88f77d1bae1216d
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