[U-Boot] scsi: Correct types of scsi_read/write()

Tom Rini trini at ti.com
Tue Jul 16 16:37:20 CEST 2013


On Wed, Jul 03, 2013 at 07:11:41AM -0700, Simon Glass wrote:

> The block device expects to see lbaint_t for the blknr parameter. Change
> the SCSI read/write functions to suit.
> 
> This fixes the following build warnings for coreboot:
> 
> cmd_scsi.c: In function ???scsi_scan???:
> cmd_scsi.c:119:30: error: assignment from incompatible pointer type [-Werror]
> cmd_scsi.c:120:32: error: assignment from incompatible pointer type [-Werror]
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130716/364ea09b/attachment.pgp>


More information about the U-Boot mailing list