Re: [PATCH 05/18] blackfin/uaccess: fix sparse errors

2014-12-17 Thread Steven Miao
On Mon, Dec 15, 2014 at 12:52 AM, 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: Michael S. Tsirkin > ---

[PATCH 05/18] blackfin/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/blackfin/include/asm/uaccess.h | 2 +- 1 file changed, 1 insertion(+)