[PATCH] USB: storage: fix compile warning

2013-12-09 Thread Ming Lei
This patch should fix the below compile warning: drivers/usb/storage/protocol.c: In function 'usb_stor_access_xfer_buf': drivers/usb/storage/protocol.c:155:22: warning: comparison of distinct pointer types lacks a cast [enabled by default] Reported-by: kbuild test robot fengguang...@intel.com

Re: [PATCH] USB: storage: fix compile warning

2013-12-09 Thread Greg Kroah-Hartman
On Tue, Dec 10, 2013 at 12:37:24PM +0800, Ming Lei wrote: This patch should fix the below compile warning: drivers/usb/storage/protocol.c: In function 'usb_stor_access_xfer_buf': drivers/usb/storage/protocol.c:155:22: warning: comparison of distinct pointer types lacks a cast [enabled by

Re: [PATCH] USB: storage: fix compile warning

2013-12-09 Thread Ming Lei
On Tue, Dec 10, 2013 at 1:05 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Dec 10, 2013 at 12:37:24PM +0800, Ming Lei wrote: This patch should fix the below compile warning: drivers/usb/storage/protocol.c: In function 'usb_stor_access_xfer_buf':

Re: [PATCH] USB: storage: fix compile warning

2013-12-09 Thread Greg Kroah-Hartman
On Tue, Dec 10, 2013 at 01:18:48PM +0800, Ming Lei wrote: On Tue, Dec 10, 2013 at 1:05 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Dec 10, 2013 at 12:37:24PM +0800, Ming Lei wrote: This patch should fix the below compile warning: drivers/usb/storage/protocol.c: In