USB: storage: fix compile warning
authorMing Lei <ming.lei@canonical.com>
Tue, 10 Dec 2013 07:01:42 +0000 (15:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Dec 2013 07:45:39 +0000 (23:45 -0800)
commit40fcd88b8d49fd911518190c985112097d3a8a17
treec91584f3e159c9f0ed3218a4605d6c690394c452
parent756a2eed67e61e9596c2b49a787441c2e0daf1e1
USB: storage: fix compile warning

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.wu@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/protocol.c