Commit 398d566a authored by Kang Chen's avatar Kang Chen Committed by openeuler-sync-bot
Browse files

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: default avatarKang Chen <void0red@gmail.com>
Acked-by: default avatarXiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
(cherry picked from commit 665bd8ad)
parent 203ae29d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment