Re: [U-Boot] [PATCH] scsi: fix compiler warning with DEBUG and 48bit LBAs

2015-07-01 Thread Bin Meng
On Thu, Jul 2, 2015 at 8:04 AM, Andre Przywara wrote: > Commit 2b42c9317db ("ahci: support LBA48 data reads for 2+TB drives") > introduced conditional code which triggers a warning when compiled > with DEBUG enabled: > > In file included from common/cmd_scsi.c:12:0: > common/cmd_scsi.c: In functio

[U-Boot] [PATCH] scsi: fix compiler warning with DEBUG and 48bit LBAs

2015-07-01 Thread Andre Przywara
Commit 2b42c9317db ("ahci: support LBA48 data reads for 2+TB drives") introduced conditional code which triggers a warning when compiled with DEBUG enabled: In file included from common/cmd_scsi.c:12:0: common/cmd_scsi.c: In function 'scsi_read': include/common.h:109:4: warning: 'smallblks' may be