android_kernel_xiaomi_sm8450/drivers/scsi/megaraid
Guixin Liu a175aed83e scsi: megaraid_sas: Fix double kfree()
[ Upstream commit 8c499e49240bd93628368c3588975cfb94169b8b ]

When allocating log_to_span fails, kfree(instance->ctrl_context) is called
twice. Remove redundant call.

Link: https://lore.kernel.org/r/1659424729-46502-1-git-send-email-kanie@linux.alibaba.com
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-09-15 11:32:02 +02:00
..
Kconfig.megaraid
Makefile
mbox_defs.h
mega_common.h
megaraid_ioctl.h
megaraid_mbox.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
megaraid_mbox.h
megaraid_mm.c scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry() 2021-08-26 08:35:36 -04:00
megaraid_mm.h
megaraid_sas_base.c scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan 2022-04-20 09:23:24 +02:00
megaraid_sas_debugfs.c
megaraid_sas_fp.c scsi: megaraid_sas: Early detection of VD deletion through RaidMap update 2021-07-20 16:05:41 +02:00
megaraid_sas_fusion.c scsi: megaraid_sas: Fix double kfree() 2022-09-15 11:32:02 +02:00
megaraid_sas_fusion.h scsi: megaraid_sas: Replace undefined MFI_BIG_ENDIAN macro with __BIG_ENDIAN_BITFIELD macro 2020-05-11 23:06:24 -04:00
megaraid_sas.h scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan 2022-04-20 09:23:24 +02:00