scsi: megaraid_sas: call megasas_dump_frame with correct IO frame size
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com> Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
2d2c233167
commit
5dd977e3bd
|
@ -2795,7 +2795,7 @@ static int megasas_reset_bus_host(struct scsi_cmnd *scmd)
|
|||
cmd = (struct megasas_cmd_fusion *)scmd->SCp.ptr;
|
||||
if (cmd)
|
||||
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,
|
||||
SCSIIO_TIMEOUT_OCR);
|
||||
} else
|
||||
|
|
Loading…
Reference in a new issue