diff options
author | 2019-04-17 14:44:19 -0700 | |
---|---|---|
committer | 2019-04-29 17:24:49 -0400 | |
commit | 2dbb02fd495c9b2e41ba37d6fec2aa713d328788 (patch) | |
tree | 7cdf7f0ee6207bad68e433800ab95d15ab72ce53 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: qla2xxx: Remove the fcport test from qla_nvme_abort_work() (diff) | |
download | linux-dev-2dbb02fd495c9b2e41ba37d6fec2aa713d328788.tar.xz linux-dev-2dbb02fd495c9b2e41ba37d6fec2aa713d328788.zip |
scsi: qla2xxx: Avoid that Coverity complains about dereferencing a NULL rport pointer
Since Coverity cannot know that rport != NULL in qla2xxx_queuecommand() and
since there is code in that function that dereferences the rport pointer,
modify qla2xxx_queuecommand() such that it fails SCSI commands if rport ==
NULL.
Cc: Himanshu Madhani <hmadhani@marvell.com>
Cc: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions