]> git.sur5r.net Git - u-boot/commit
scsi: Correct types of scsi_read/write()
authorSimon Glass <sjg@chromium.org>
Wed, 3 Jul 2013 14:11:41 +0000 (07:11 -0700)
committerTom Rini <trini@ti.com>
Mon, 15 Jul 2013 21:06:09 +0000 (17:06 -0400)
commit4f6aa3468d8090f2de84a869ba54891a4340a1c8
tree0cfb22ad460ed5db92d8aa5238c822667c45c826
parent54e458de55a8833519225d728e3be1f84b399a38
scsi: Correct types of scsi_read/write()

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@chromium.org>
common/cmd_scsi.c