Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Simon Glass's avatar
    4f6aa346
    scsi: Correct types of scsi_read/write() · 4f6aa346
    Simon Glass authored
    
    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>
    4f6aa346
    History
    scsi: Correct types of scsi_read/write()
    Simon Glass authored
    
    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>