Re: [PATCH] scsi: fnic: Fix memleak in vnic_dev_init_devcmd2

2021-01-12 Thread Martin K. Petersen
On Fri, 25 Dec 2020 16:35:20 +0800, Dinghao Liu wrote: > When ioread32() returns 0x, we should execute > cleanup functions like other error handling paths before > returning. Applied to 5.11/scsi-fixes, thanks! [1/1] scsi: fnic: Fix memleak in vnic_dev_init_devcmd2

Re: [PATCH] scsi: fnic: Fix memleak in vnic_dev_init_devcmd2

2021-01-12 Thread Martin K. Petersen
Dinghao, > When ioread32() returns 0x, we should execute > cleanup functions like other error handling paths before > returning. Applied to 5.12/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

RE: [PATCH] scsi: fnic: Fix memleak in vnic_dev_init_devcmd2

2021-01-12 Thread Karan Tilak Kumar (kartilak)
K. Petersen ; linux-s...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: [PATCH] scsi: fnic: Fix memleak in vnic_dev_init_devcmd2 When ioread32() returns 0x, we should execute cleanup functions like other error handling paths before returning. Signed-off-by: Dinghao Liu

[PATCH] scsi: fnic: Fix memleak in vnic_dev_init_devcmd2

2020-12-25 Thread Dinghao Liu
When ioread32() returns 0x, we should execute cleanup functions like other error handling paths before returning. Signed-off-by: Dinghao Liu --- drivers/scsi/fnic/vnic_dev.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/fnic/vnic_dev.c