diff options
| author | Chenyuan Yang <[email protected]> | 2025-04-12 19:59:09 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2025-04-22 00:50:11 +0000 |
| commit | 08a966a917fe3d92150fa3cc15793ad5e57051eb (patch) | |
| tree | c06fc9271dc9782a88705ea99c0fca210d522dc6 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | scsi: core: Clear flags for scsi_cmnd that did not complete (diff) | |
| download | kernel-08a966a917fe3d92150fa3cc15793ad5e57051eb.tar.gz kernel-08a966a917fe3d92150fa3cc15793ad5e57051eb.zip | |
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 74736103fb41 ("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: ab248643d3d6 ("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]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
