summaryrefslogtreecommitdiff
path: root/drivers/scsi/be2iscsi
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2016-11-22 14:27:06 -0800
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2016-11-22 14:27:06 -0800
commitc65c945c31d071d1f8cd2c35541a6cdf80b5f835 (patch)
treea233f0c2ee30e40ec141d2e6041deffcd926dace /drivers/scsi/be2iscsi
parentd8188b10087cc78cd1e23c9b7525378da325626a (diff)
parent23b98e4b5fc5efd1d5d5f018bc7f954cd119f538 (diff)
downloadlinux-next-c65c945c31d071d1f8cd2c35541a6cdf80b5f835.tar.gz
Merge remote-tracking branch 'mkp-scsi/4.9/scsi-fixes' into fixes
Diffstat (limited to 'drivers/scsi/be2iscsi')
-rw-r--r--drivers/scsi/be2iscsi/be_mgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_mgmt.c b/drivers/scsi/be2iscsi/be_mgmt.c
index aebc4ddb3060..ac05317bba7f 100644
--- a/drivers/scsi/be2iscsi/be_mgmt.c
+++ b/drivers/scsi/be2iscsi/be_mgmt.c
@@ -1083,7 +1083,7 @@ unsigned int beiscsi_boot_get_sinfo(struct beiscsi_hba *phba)
nonemb_cmd = &phba->boot_struct.nonemb_cmd;
nonemb_cmd->size = sizeof(*resp);
nonemb_cmd->va = pci_alloc_consistent(phba->ctrl.pdev,
- sizeof(nonemb_cmd->size),
+ nonemb_cmd->size,
&nonemb_cmd->dma);
if (!nonemb_cmd->va) {
mutex_unlock(&ctrl->mbox_lock);