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
https://git.kern
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
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
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 b/drivers
4 matches
Mail list logo