From: Tom Rini Date: Tue, 16 Jul 2013 10:37:20 -0400 Subject: [U-Boot] scsi: Correct types of scsi_read/write() In-Reply-To: <1372860701-7496-1-git-send-email-sjg@chromium.org> References: <1372860701-7496-1-git-send-email-sjg@chromium.org> Message-ID: <20130716143720.GL12301@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: