“087091652bf8b351432a3f3fb50996ee3582d5e4”上不存在“tools/perf/ui/browser.h”
scsi: megaraid_sas: Fix resource leak in case of probe failure
stable inclusion from stable-5.10.52 commit 0680db6f41920b2c91c7df3cc9cd5968701a6f74 bugzilla: 175542 https://gitee.com/openeuler/kernel/issues/I4DTKU Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0680db6f41920b2c91c7df3cc9cd5968701a6f74 -------------------------------- [ Upstream commit b5438f48 ] The driver doesn't clean up all the allocated resources properly when scsi_add_host(), megasas_start_aen() function fails during the PCI device probe. Clean up all those resources. Link: https://lore.kernel.org/r/20210528131307.25683-3-chandrakanth.patil@broadcom.comSigned-off-by: NChandrakanth Patil <chandrakanth.patil@broadcom.com> Signed-off-by: NSumit Saxena <sumit.saxena@broadcom.com> Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NWeilong Chen <chenweilong@huawei.com> Signed-off-by: NChen Jun <chenjun102@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录