commit | 4f6aa3468d8090f2de84a869ba54891a4340a1c8 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jul 03 07:11:41 2013 -0700 |
committer | Tom Rini <trini@ti.com> | Mon Jul 15 17:06:09 2013 -0400 |
tree | 0cfb22ad460ed5db92d8aa5238c822667c45c826 | |
parent | 54e458de55a8833519225d728e3be1f84b399a38 [diff] |
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>