Searched hist:"939 f33bf73f480afb86d85ac2ca4694f3bd8f498" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/platform/mellanox/ |
H A D | nvsw-sn2201.c | diff 939f33bf73f480afb86d85ac2ca4694f3bd8f498 Tue Jun 04 22:27:45 CDT 2024 Chen Ni <nichen@iscas.ac.cn> platform/mellanox: nvsw-sn2201: Add check for platform_device_add_resources
[ Upstream commit d56fbfbaf592a115b2e11c1044829afba34069d2 ]
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>
|