aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2022-06-03 17:43:24 +0000
committerMartin K. Petersen <[email protected]>2022-06-08 01:38:17 +0000
commit6f808bd78e8296b4ded813b7182988d57e1f6176 (patch)
tree740cf302a6572bf88cc7da3f7a3d32a1be742835 /scripts/clang-tools/gen_compile_commands.py
parentscsi: lpfc: Resolve some cleanup issues following SLI path refactoring (diff)
downloadkernel-6f808bd78e8296b4ded813b7182988d57e1f6176.tar.gz
kernel-6f808bd78e8296b4ded813b7182988d57e1f6176.zip
scsi: lpfc: Address NULL pointer dereference after starget_to_rport()
Calls to starget_to_rport() may return NULL. Add check for NULL rport before dereference. Link: https://lore.kernel.org/r/[email protected] Fixes: bb21fc9911ee ("scsi: lpfc: Use fc_block_rport()") Cc: <[email protected]> # v5.18 Co-developed-by: Justin Tee <[email protected]> Signed-off-by: Justin Tee <[email protected]> Signed-off-by: James Smart <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions