[PATCH 01/13] USB Mass Storage driver: Fix compile time warning
Juergen Beisert
jbe at pengutronix.de
Thu Nov 24 07:43:39 EST 2011
drivers/usb/storage/usb.c: In function 'usb_stor_blk_io':
drivers/usb/storage/usb.c:257:16: warning: comparison of distinct pointer types lacks a cast
Signed-off-by: Juergen Beisert <jbe at pengutronix.de>
---
drivers/usb/storage/usb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c
index d033b29..6dba8cc 100644
--- a/drivers/usb/storage/usb.c
+++ b/drivers/usb/storage/usb.c
@@ -193,7 +193,7 @@ static int usb_stor_write_10(ccb *srb, struct us_data *us,
* Disk driver interface
***********************************************************************/
-#define US_MAX_IO_BLK 32U
+#define US_MAX_IO_BLK 32
enum { io_rd, io_wr };
--
1.7.7.1
More information about the barebox
mailing list