linux-imx/drivers/platform/mellanox
Chen Ni 939f33bf73 platform/mellanox: nvsw-sn2201: Add check for platform_device_add_resources
[ Upstream commit d56fbfbaf5 ]

Add check for the return value of platform_device_add_resources() and
return the error if it fails in order to catch the error.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://lore.kernel.org/r/20240605032745.2916183-1-nichen@iscas.ac.cn
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-25 09:50:51 +02:00
..
Kconfig platform/mellanox: NVSW_SN2201 should depend on ACPI 2023-09-11 13:21:46 +02:00
Makefile platform/mellanox: Add support for new SN2201 system 2022-05-12 15:35:29 +02:00
mlxbf-bootctl.c mlxbf-bootctl: correctly identify secure boot with development keys 2023-12-13 18:45:05 +01:00
mlxbf-bootctl.h mlxbf-bootctl: Support sysfs entries for MFG fields 2023-08-23 17:31:27 +02:00
mlxbf-pmc.c platform/mellanox: Check devm_hwmon_device_register_with_groups() return value 2023-12-13 18:45:05 +01:00
mlxbf-tmfifo-regs.h platform/mellanox: Add BlueField-3 support in the tmfifo driver 2022-11-16 08:48:19 +01:00
mlxbf-tmfifo.c platform/mellanox: mlxbf-tmfifo: Drop Tx network packet when Tx TmFIFO is full 2024-03-01 13:34:49 +01:00
mlxreg-hotplug.c platform: mellanox: mlxreg-hotplug: Extend condition for notification callback processing 2023-08-23 17:31:30 +02:00
mlxreg-io.c platform: Explicitly include correct DT includes 2023-07-26 10:58:36 +02:00
mlxreg-lc.c platform/mellanox: mlxreg-lc: Make error handling flow consistent 2022-09-09 21:58:16 +02:00
nvsw-sn2201.c platform/mellanox: nvsw-sn2201: Add check for platform_device_add_resources 2024-07-25 09:50:51 +02:00