summaryrefslogtreecommitdiffstats
path: root/mm/memfd.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-04-17 14:44:19 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2019-04-29 17:24:49 -0400
commit2dbb02fd495c9b2e41ba37d6fec2aa713d328788 (patch)
tree7cdf7f0ee6207bad68e433800ab95d15ab72ce53 /mm/memfd.c
parentdafbe56f6e338c7f583a524c714942f892c1f50a (diff)
downloadlinux-2dbb02fd495c9b2e41ba37d6fec2aa713d328788.tar.bz2
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 'mm/memfd.c')
0 files changed, 0 insertions, 0 deletions