linux_dsm_epyc7002/drivers/scsi/qla4xxx
Dan Carpenter 50e9291578 [SCSI] qla4xxx: don't free NULL dma pool
The error path calls dma_pool_free() on this path but "chap_table" is
NULL and "chap_dma" is uninitialized.  It's cleaner to just return
directly.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-02-22 11:24:22 +00:00
..
Kconfig [SCSI] qla4xxx: Added support for ISP83XX 2012-09-24 12:11:08 +04:00
Makefile [SCSI] qla4xxx: Added support for ISP83XX 2012-09-24 12:11:08 +04:00
ql4_83xx.c [SCSI] qla4xxx: Added support for force firmware dump 2013-01-30 13:53:19 +11:00
ql4_83xx.h [SCSI] qla4xxx: Disable generating pause frames for ISP83XX 2012-09-24 12:49:00 +04:00
ql4_attr.c [SCSI] qla4xxx: Added support for force firmware dump 2013-01-30 13:53:19 +11:00
ql4_bsg.c [SCSI] qla4xxx: Added Get ACB support using BSG 2011-08-27 08:36:44 -06:00
ql4_bsg.h [SCSI] qla4xxx: Added Get ACB support using BSG 2011-08-27 08:36:44 -06:00
ql4_dbg.c [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_dbg.h [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_def.h [SCSI] qla4xxx: wait for boot target login response during probe. 2013-01-30 13:55:50 +11:00
ql4_fw.h [SCSI] qla4xxx: Quiesce driver activities while loopback 2013-01-30 13:40:23 +11:00
ql4_glbl.h [SCSI] qla4xxx: Added support for force firmware dump 2013-01-30 13:53:19 +11:00
ql4_init.c [SCSI] qla4xxx: Remove unnecessary code from qla4xxx_init_local_data 2013-01-30 13:43:50 +11:00
ql4_inline.h [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_iocb.c [SCSI] qla4xxx: Throttle active IOCBs to firmware limits 2013-01-30 13:47:16 +11:00
ql4_isr.c [SCSI] qla4xxx: Quiesce driver activities while loopback 2013-01-30 13:40:23 +11:00
ql4_mbx.c [SCSI] qla4xxx: don't free NULL dma pool 2013-02-22 11:24:22 +00:00
ql4_nvram.c [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_nvram.h [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_nx.c [SCSI] qla4xxx: Re-register IRQ handler while retrying initialize of adapter 2013-01-30 13:50:19 +11:00
ql4_nx.h [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_os.c [SCSI] qla4xxx: Fix return code for qla4xxx_session_get_param. 2013-01-30 13:59:00 +11:00
ql4_version.h [SCSI] qla4xxx: Update driver version to 5.03.00-k4 2013-01-30 14:01:45 +11:00