WSL2-Linux-Kernel/drivers/scsi/hisi_sas
Kang Chen 0267cd0471 scsi: hisi_sas: Check devm_add_action() return value
[ Upstream commit 06d1a90de6 ]

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>
2023-03-30 12:47:53 +02:00
..
Kconfig scsi: hisi_sas: Enable debugfs support by default 2021-01-26 23:02:11 -05:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
hisi_sas.h scsi: hisi_sas: Speed up error handling when internal abort timeout occurs 2021-06-09 23:21:52 -04:00
hisi_sas_main.c scsi: hisi_sas: Set a port invalid only if there are no devices attached when refreshing port id 2023-02-01 08:27:18 +01:00
hisi_sas_v1_hw.c scsi: libsas: Add LUN number check in .slave_alloc callback 2021-06-22 21:33:33 -04:00
hisi_sas_v2_hw.c scsi: libsas: Add LUN number check in .slave_alloc callback 2021-06-22 21:33:33 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Check devm_add_action() return value 2023-03-30 12:47:53 +02:00