Message ID | 20180214160252.32230-1-colin.king@canonical.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/drivers/scsi/myrs.c b/drivers/scsi/myrs.c index 16498e1b0dd4..eb67ed3a7cff 100644 --- a/drivers/scsi/myrs.c +++ b/drivers/scsi/myrs.c @@ -442,7 +442,7 @@ myrs_translate_pdev(myrs_hba *cs, unsigned char channel, DAC960_V2_TranslatePhysicalToLogicalDevice; sgl = &mbox->PhysicalDeviceInfo.dma_addr; sgl->sge[0].sge_addr = devmap_addr; - sgl->sge[0].sge_addr = mbox->PhysicalDeviceInfo.dma_size; + sgl->sge[0].sge_count = mbox->PhysicalDeviceInfo.dma_size; myrs_exec_cmd(cs, cmd_blk); status = cmd_blk->status;