mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-17 12:34:01 +00:00
scsi: mpi3mr: Fix printing of pending I/O count
Print proper pending I/O count after issuing target reset TM operation. Link: https://lore.kernel.org/r/20220210095817.22828-3-sreekanth.reddy@broadcom.com Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
580e674220
commit
6d211f1d26
1 changed files with 1 additions and 1 deletions
|
@ -3452,7 +3452,7 @@ static int mpi3mr_eh_target_reset(struct scsi_cmnd *scmd)
|
|||
if (stgt_priv_data->pend_count) {
|
||||
sdev_printk(KERN_INFO, scmd->device,
|
||||
"%s: target has %d pending commands, target reset is failed\n",
|
||||
mrioc->name, sdev_priv_data->pend_count);
|
||||
mrioc->name, stgt_priv_data->pend_count);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue