提交 5dd977e3 编写于 作者: S Shivasharan S 提交者: Martin K. Petersen

scsi: megaraid_sas: call megasas_dump_frame with correct IO frame size

Signed-off-by: NKashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: NShivasharan S <shivasharan.srikanteshwara@broadcom.com>
Reviewed-by: NHannes Reinecke <hare@suse.com>
Reviewed-by: NTomas Henzl <thenzl@redhat.com>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 2d2c2331
...@@ -2795,7 +2795,7 @@ static int megasas_reset_bus_host(struct scsi_cmnd *scmd) ...@@ -2795,7 +2795,7 @@ static int megasas_reset_bus_host(struct scsi_cmnd *scmd)
cmd = (struct megasas_cmd_fusion *)scmd->SCp.ptr; cmd = (struct megasas_cmd_fusion *)scmd->SCp.ptr;
if (cmd) if (cmd)
megasas_dump_frame(cmd->io_request, megasas_dump_frame(cmd->io_request,
sizeof(struct MPI2_RAID_SCSI_IO_REQUEST)); MEGA_MPI2_RAID_DEFAULT_IO_FRAME_SIZE);
ret = megasas_reset_fusion(scmd->device->host, ret = megasas_reset_fusion(scmd->device->host,
SCSIIO_TIMEOUT_OCR); SCSIIO_TIMEOUT_OCR);
} else } else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册