linux/drivers/scsi/fnic
Dinghao Liu e0f1ba38f7 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:35:48 +01:00
..
Makefile
cq_desc.h
cq_enet_desc.h
cq_exch_desc.h
fcpio.h
fnic.h
fnic_attrs.c
fnic_debugfs.c
fnic_fcs.c
fnic_fip.h
fnic_io.h
fnic_isr.c
fnic_main.c
fnic_res.c
fnic_res.h
fnic_scsi.c
fnic_stats.h
fnic_trace.c
fnic_trace.h
rq_enet_desc.h
vnic_cq.c
vnic_cq.h
vnic_cq_copy.h
vnic_dev.c scsi: fnic: Fix memleak in vnic_dev_init_devcmd2 2021-02-07 15:35:48 +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.c
vnic_wq.h
vnic_wq_copy.c
vnic_wq_copy.h
wq_enet_desc.h