linux_dsm_epyc7002/drivers/scsi/fnic
Dinghao Liu 946d15aa09 scsi: fnic: Fix memleak in vnic_dev_init_devcmd2
[ Upstream commit d6e3ae76728ccde49271d9f5acfebbea0c5625a3 ]

When ioread32() returns 0xFFFFFFFF, we should execute cleanup functions
like other error handling paths before returning.

Link: https://lore.kernel.org/r/20201225083520.22015-1-dinghao.liu@zju.edu.cn
Acked-by: Karan Tilak Kumar <kartilak@cisco.com>
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-02-07 15:37:14 +01:00
..
cq_desc.h
cq_enet_desc.h
cq_exch_desc.h
fcpio.h
fnic_attrs.c
fnic_debugfs.c scsi: fnic: Fix inconsistent format argument type in fnic_debugfs.c 2020-10-02 21:16:21 -04:00
fnic_fcs.c scsi: fnic: Remove set but not used 'eth_hdrs_stripped' 2020-09-02 22:49:07 -04:00
fnic_fip.h
fnic_io.h
fnic_isr.c
fnic_main.c scsi: fnic: Fix error return code in fnic_probe() 2020-12-30 11:53:42 +01:00
fnic_res.c
fnic_res.h
fnic_scsi.c scsi: fnic: Do not call 'scsi_done()' for unhandled commands 2020-10-02 21:09:26 -04:00
fnic_stats.h
fnic_trace.c
fnic_trace.h
fnic.h
Makefile
rq_enet_desc.h
vnic_cq_copy.h
vnic_cq.c
vnic_cq.h
vnic_dev.c scsi: fnic: Fix memleak in vnic_dev_init_devcmd2 2021-02-07 15:37:14 +01:00
vnic_dev.h
vnic_devcmd.h
vnic_intr.c
vnic_intr.h
vnic_nic.h
vnic_resource.h
vnic_rq.c
vnic_rq.h
vnic_scsi.h
vnic_stats.h
vnic_wq_copy.c scsi: fnic: Simplify the return expression of vnic_wq_copy_alloc() 2020-10-07 23:50:03 -04:00
vnic_wq_copy.h
vnic_wq.c scsi: fnic: make vnic_wq_get_ctrl and vnic_wq_alloc_ring static 2020-04-17 13:48:05 -04:00
vnic_wq.h
wq_enet_desc.h