diff options
author | Nilesh Javali <[email protected]> | 2023-06-07 17:08:39 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-06-14 22:06:02 -0400 |
commit | af73f23a27206ffb3c477cac75b5fcf03410556e (patch) | |
tree | 1223df8457372b4caaf7426c72fb7e8513fe5e60 /scripts/gdb/linux/modules.py | |
parent | 6b504d06976fe4a61cc05dedc68b84fadb397f77 (diff) |
scsi: qla2xxx: Check valid rport returned by fc_bsg_to_rport()
Klocwork reported warning of rport maybe NULL and will be dereferenced.
rport returned by call to fc_bsg_to_rport() could be NULL and dereferenced.
Check valid rport returned by fc_bsg_to_rport().
Cc: [email protected]
Signed-off-by: Nilesh Javali <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions