Re: [PATCH 04/18] avr32/uaccess: fix sparse errors

2014-12-14 Thread Hans-Christian Egtvedt
Around Sun 14 Dec 2014 18:52:14 +0200 or thereabout, Michael S. Tsirkin wrote: > 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: Michae

[PATCH 04/18] avr32/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
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 --- arch/avr32/include/asm/uaccess.h | 4 ++-- 1 file changed, 2 insertions(+)