summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/probe_roms.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2011-04-19 15:29:25 -0700
committerDan Williams <dan.j.williams@intel.com>2011-07-03 04:00:37 -0700
commitf22be5d8386d9da67bfe02693806fbaff7b078da (patch)
tree3cf2a4cbe871516d7eb1206852dc9b2a0ad00cfd /drivers/scsi/isci/probe_roms.h
parent6cb4d6b382be6345c2d0c4b1b90dfdf9af32da7e (diff)
downloadlwn-f22be5d8386d9da67bfe02693806fbaff7b078da.tar.gz
lwn-f22be5d8386d9da67bfe02693806fbaff7b078da.zip
isci: fix oem parameter header definition
The element_length is 2 bytes. Reported-by: Yinghai Lu <yinghai.lu@oracle.com> Acked-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/probe_roms.h')
-rw-r--r--drivers/scsi/isci/probe_roms.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/isci/probe_roms.h b/drivers/scsi/isci/probe_roms.h
index f07935844bbd..55983363764b 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));