Re: [PATCH 2/2] gpio: tz1090-pdc: Use resource_size to fix off-by-one resource size calculation

2015-01-02 Thread James Hogan
On 28/12/14 06:01, Axel Lin wrote: Signed-off-by: Axel Lin axel@ingics.com Thanks, both patches Acked-by: James Hogan james.ho...@imgtec.com Note that the previous off-by-one behaviour should be harmless since the SoC IO memory region is unmapped on Meta (i.e. the ioremap becomes a no-op as

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