Re: [PATCH repost 09/16] metag/uaccess: fix sparse errors

2015-01-06 Thread Michael S. Tsirkin
On Mon, Jan 05, 2015 at 02:47:19PM +, James Hogan wrote: On 5 January 2015 at 13:00, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Jan 05, 2015 at 09:44:14AM +, James Hogan wrote: On 04/01/15 10:52, Michael S. Tsirkin wrote: On Fri, Jan 02, 2015 at 03:41:02PM +, James Hogan

Re: [PATCH repost 09/16] metag/uaccess: fix sparse errors

2015-01-05 Thread Michael S. Tsirkin
On Mon, Jan 05, 2015 at 09:44:14AM +, James Hogan wrote: On 04/01/15 10:52, Michael S. Tsirkin wrote: On Fri, Jan 02, 2015 at 03:41:02PM +, James Hogan wrote: Hi, On 25/12/14 09:29, Michael S. Tsirkin wrote: virtio wants to read bitwise types from userspace using get_user. At

Re: [PATCH repost 09/16] metag/uaccess: fix sparse errors

2015-01-02 Thread James Hogan
Hi, On 25/12/14 09:29, 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. I still see these sparse warnings with metag even with