Skip to content
Snippets Groups Projects
Commit 4f6aa346 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 54e458de
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment