diff options
| author | Bart Van Assche <[email protected]> | 2025-02-14 22:43:44 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2025-02-19 01:51:32 +0000 |
| commit | 4fa382be430421e1445f9c95c4dc9b7e0949ae8a (patch) | |
| tree | a427ec9b36cc809b850a88145e5b657ba892c7d7 /net/unix/af_unix.c | |
| parent | scsi: qla1280: Fix kernel oops when debug level > 2 (diff) | |
| download | kernel-4fa382be430421e1445f9c95c4dc9b7e0949ae8a.tar.gz kernel-4fa382be430421e1445f9c95c4dc9b7e0949ae8a.zip | |
scsi: ufs: core: Fix ufshcd_is_ufs_dev_busy() and ufshcd_eh_timed_out()
ufshcd_is_ufs_dev_busy(), ufshcd_print_host_state() and
ufshcd_eh_timed_out() are used in both modes (legacy mode and MCQ mode).
hba->outstanding_reqs only represents the outstanding requests in legacy
mode. Hence, change hba->outstanding_reqs into scsi_host_busy(hba->host) in
these functions.
Fixes: eacb139b77ff ("scsi: ufs: core: mcq: Enable multi-circular queue")
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Peter Wang <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
