Commit 08a966a
scsi: ufs: core: Add NULL check in ufshcd_mcq_compl_pending_transfer()
Add a NULL check for the returned hwq pointer by ufshcd_mcq_req_to_hwq().
This is similar to the fix in commit 7473610 ("scsi: ufs: core: Fix
ufshcd_abort_one racing issue").
Signed-off-by: Chenyuan Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Fixes: ab24864 ("scsi: ufs: core: Add error handling for MCQ mode")
Reviewed-by: Peter Wang <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>1 parent 54bebe4 commit 08a966a
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5678 | 5678 | | |
5679 | 5679 | | |
5680 | 5680 | | |
| 5681 | + | |
| 5682 | + | |
5681 | 5683 | | |
5682 | 5684 | | |
5683 | 5685 | | |
| |||
0 commit comments