]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/arm64/include/asm/uaccess.h
arm64/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:02 +0000 (15:23 +0200)
commit58fff51784cb5e1bcc06a1417be26eec4288507c
treef96bbfcdd959fb9d458ad119959133aafe535fd3
parent1ab5786ae45ace5d13517f21508607c5f795a822
arm64/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: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/uaccess.h