]> asedeno.scripts.mit.edu Git - linux.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)
commitf5e0c47ef3293bef8eab634e5849c2559ed48a39
tree6b6f5be3214e1a653dce8d54a4d67a8defdb90a9
parent7f0db2bec363bf1a4d6da2572491c634a34dcad8
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