aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorYihang Li <[email protected]>2023-12-14 11:45:14 +0800
committerMartin K. Petersen <[email protected]>2023-12-13 23:24:54 -0500
commit8dd10296be8562a45c6c6794dd492a2b7dccede8 (patch)
tree2761d468e3d926814d6ba8ce6cabc5f984f1c6d9 /scripts/generate_rust_analyzer.py
parentd34ee535705eb43885bc0f561c63046f697355ad (diff)
scsi: hisi_sas: Check before using pointer variables
In commit 4b329abc9180 ("scsi: hisi_sas: Move slot variable definition in hisi_sas_abort_task()"), we move the variables slot to the function head. However, the variable slot may be NULL, we should check it in each branch. Fixes: 4b329abc9180 ("scsi: hisi_sas: Move slot variable definition in hisi_sas_abort_task()") Signed-off-by: Yihang Li <[email protected]> Signed-off-by: Xiang Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions