]> git.baikalelectronics.ru Git - kernel.git/commit
blackfin/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:07 +0000 (15:23 +0200)
commit6e7e7ce5b375104a130d17943333f0b0355f65e8
tree6b6f5be3214e1a653dce8d54a4d67a8defdb90a9
parentdd0148295a23f59e319d01086eb2d3d64d555de9
blackfin/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: Steven Miao <realmz6@gmail.com>
arch/blackfin/include/asm/uaccess.h