aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/probe_roms.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/isci/probe_roms.c')
-rw-r--r--drivers/scsi/isci/probe_roms.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/scsi/isci/probe_roms.c b/drivers/scsi/isci/probe_roms.c
index 0d968d3b334b..1697487f908c 100644
--- a/drivers/scsi/isci/probe_roms.c
+++ b/drivers/scsi/isci/probe_roms.c
@@ -138,10 +138,7 @@ enum sci_status isci_parse_oem_parameters(union scic_oem_parameters *oem_params,
138 scu_index > orom->hdr.num_elements || !oem_params) 138 scu_index > orom->hdr.num_elements || !oem_params)
139 return -EINVAL; 139 return -EINVAL;
140 140
141 memcpy(oem_params, 141 oem_params->sds1 = orom->ctrl[scu_index];
142 &orom->ctrl[scu_index],
143 sizeof(struct scic_sds_oem_params));
144
145 return 0; 142 return 0;
146} 143}
147 144