linux_dsm_epyc7002/drivers/scsi/lpfc
James Smart 7aabe84b8a scsi: lpfc: sanity check hrq is null before dereferencing it
From: Colin Ian King <colin.king@canonical.com>

The sanity check for hrq should be moved to before the deference
of hrq to ensure we don't perform a null pointer deference.

Detected by CoverityScan, CID#1411650 ("Dereference before null check")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-03-06 23:04:22 -05:00
..
lpfc_attr.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_attr.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_bsg.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_bsg.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_compat.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_crtn.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_ct.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_debugfs.c scsi: lpfc: use div_u64 for 64-bit division 2017-02-27 22:07:03 -05:00
lpfc_debugfs.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_disc.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_els.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_hbadisc.c scsi: lpfc: replace init_timer by setup_timer 2017-03-06 22:48:49 -05:00
lpfc_hw4.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_hw.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_ids.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_init.c scsi: lpfc: replace init_timer by setup_timer 2017-03-06 22:48:49 -05:00
lpfc_logmsg.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_mbox.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_mem.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_nl.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_nportdisc.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_nvme.c scsi: lpfc: use proper format string for dma_addr_t 2017-02-27 22:08:40 -05:00
lpfc_nvme.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_nvmet.c scsi: lpfc: remove redundant assignment of sgel 2017-03-06 23:04:22 -05:00
lpfc_nvmet.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_scsi.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_scsi.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_sli4.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_sli.c scsi: lpfc: sanity check hrq is null before dereferencing it 2017-03-06 23:04:22 -05:00
lpfc_sli.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_version.h scsi: lpfc: Update lpfc version to 11.2.0.7 2017-02-22 18:41:44 -05:00
lpfc_vport.c scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc_vport.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
lpfc.h scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00
Makefile scsi: lpfc: Update copyrights 2017-02-22 18:41:44 -05:00