avr32/uaccess: fix sparse errors
commit7f0db2bec363bf1a4d6da2572491c634a34dcad8
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 11 Dec 2014 23:56:04 +0000 (12 01:56 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 13 Jan 2015 13:23:04 +0000 (13 15:23 +0200)
treec1d769392ce81cc5a63c078a975d020831d8b09c
parent58fff51784cb5e1bcc06a1417be26eec4288507c
avr32/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: Hans-Christian Egtvedt <egtvedt@samfundet.no>
arch/avr32/include/asm/uaccess.h