From f22be5d8386d9da67bfe02693806fbaff7b078da Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 19 Apr 2011 15:29:25 -0700 Subject: isci: fix oem parameter header definition The element_length is 2 bytes. Reported-by: Yinghai Lu Acked-by: Dave Jiang Signed-off-by: Dan Williams --- drivers/scsi/isci/probe_roms.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/scsi') diff --git a/drivers/scsi/isci/probe_roms.h b/drivers/scsi/isci/probe_roms.h index f07935844bb..55983363764 100644 --- a/drivers/scsi/isci/probe_roms.h +++ b/drivers/scsi/isci/probe_roms.h @@ -123,7 +123,7 @@ struct sci_bios_oem_param_block_hdr { uint8_t version; uint8_t preboot_source; uint8_t num_elements; - uint8_t element_length; + uint16_t element_length; uint8_t reserved[8]; } __attribute__ ((packed)); -- cgit v1.2.3