diff options
author | Chenyuan Yang <chenyuan0y@gmail.com> | 2025-04-12 14:59:09 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-04-21 20:50:11 -0400 |
commit | 08a966a917fe3d92150fa3cc15793ad5e57051eb (patch) | |
tree | c06fc9271dc9782a88705ea99c0fca210d522dc6 /tools/perf/util/c++/clang-test.cpp | |
parent | 54bebe46871d4e56e05fcf55c1a37e7efa24e0a8 (diff) | |
download | linux-stable-08a966a917fe3d92150fa3cc15793ad5e57051eb.tar.gz linux-stable-08a966a917fe3d92150fa3cc15793ad5e57051eb.tar.bz2 linux-stable-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 <chenyuan0y@gmail.com>
Link: https://lore.kernel.org/r/20250412195909.315418-1-chenyuan0y@gmail.com
Fixes: ab248643d3d6 ("scsi: ufs: core: Add error handling for MCQ mode")
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions