linux-stable/drivers/scsi/fnic
Dinghao Liu d6e3ae7672 scsi: fnic: Fix memleak in vnic_dev_init_devcmd2
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>
2021-01-12 23:32:53 -05:00
..
cq_desc.h
cq_enet_desc.h
cq_exch_desc.h
fcpio.h
fnic.h scsi: fnic: Validate io_req before others 2020-11-23 22:38:40 -05:00
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: Change shost_printk() to FNIC_MAIN_DBG() 2020-11-23 22:36:56 -05:00
fnic_fip.h
fnic_io.h
fnic_isr.c scsi: fnic: fix msix interrupt allocation 2019-09-07 15:29:12 -04:00
fnic_main.c scsi: fnic: Fix error return code in fnic_probe() 2020-12-07 20:31:36 -05:00
fnic_res.c
fnic_res.h
fnic_scsi.c scsi: fnic: Validate io_req before others 2020-11-23 22:38:40 -05:00
fnic_stats.h
fnic_trace.c scsi: fnic: Use scnprintf() for avoiding potential buffer overflow 2020-03-17 13:36:10 -04:00
fnic_trace.h
Makefile
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-01-12 23:32:53 -05:00
vnic_dev.h
vnic_devcmd.h scsi: Replace zero-length array with flexible-array member 2020-03-11 23:07:56 -04:00
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 scsi: fnic: make vnic_wq_get_ctrl and vnic_wq_alloc_ring static 2020-04-17 13:48:05 -04:00
vnic_wq.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
wq_enet_desc.h