summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2011-04-20 00:29:25 +0200
committerDan Williams <dan.j.williams@intel.com>2011-07-03 13:00:37 +0200
commitf22be5d8386d9da67bfe02693806fbaff7b078da (patch)
tree3cf2a4cbe871516d7eb1206852dc9b2a0ad00cfd /drivers
parentisci: audit usage of BUG_ON macro in isci driver (diff)
downloadlinux-f22be5d8386d9da67bfe02693806fbaff7b078da.tar.xz
linux-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')
-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));