commit | 0d996a834e05e39ba68a3a0aa9a550ce41e5e765 | [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 | ddaa11301e1298fff90dfdab9c51b0dbb207c3c3 [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>