scsi: hisi_sas: Check devm_add_action() return value
stable inclusion from stable-v5.10.177 commit 522314863f7820f49ea80a8fb9d9e5526a578d9a category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I88YNP Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=522314863f7820f49ea80a8fb9d9e5526a578d9a -------------------------------- [ Upstream commit 06d1a90d ] In case devm_add_action() fails, check it in the caller of interrupt_preinit_v3_hw(). Link: https://lore.kernel.org/r/20230227031030.893324-1-void0red@gmail.com Signed-off-by:Kang Chen <void0red@gmail.com> Acked-by:
Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com> (cherry picked from commit 665bd8ad)
Loading
Please sign in to comment