]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
platform/mellanox: nvsw-sn2201: Fix bus number in adapter error message
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Sun, 22 Jun 2025 07:29:12 +0000 (00:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 14:03:07 +0000 (16:03 +0200)
commite373354ecfbf0fbf779098fd551735771f94df62
tree9518e84c441b13a7be1e93fd110f491c7ef8756e
parentd8a1ad180c24fc186d6f927a0ac9482da06f9869
platform/mellanox: nvsw-sn2201: Fix bus number in adapter error message

[ Upstream commit d07143b507c51c04c091081627c5a130e9d3c517 ]

change error log to use correct bus number from main_mux_devs
instead of cpld_devs.

Fixes: 662f24826f95 ("platform/mellanox: Add support for new SN2201 system")
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20250622072921.4111552-2-alok.a.tiwari@oracle.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/mellanox/nvsw-sn2201.c