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@xxxxxxxxxxxxxx> --- 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 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox