Skip to content
Snippets Groups Projects
Select Git revision
  • eca3aeb352c964bdb28b8e191d6326370245e03f
  • master default protected
  • stable
  • extraversion
  • early-display
  • variant-emmc-nvme-boot
  • 2024-07-19
  • 2024-06-30
  • 2023-10-18
  • 2023-10-10
  • 2023-07-04
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
15 results

cmd_scsi.c

Blame
    • 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>
    cmd_scsi.c 19.02 KiB