Re: [PATCH net 1/2] mlxsw: spectrum: Fix error path in mlxsw_sp_module_init()
From: Jesse Brandeburg <hidden>
Date: 2019-08-08 05:19:35
From: Jesse Brandeburg <hidden>
Date: 2019-08-08 05:19:35
On Wed, 31 Jul 2019 09:33:14 +0300 Ido Schimmel [off-list ref] wrote:
From: Jiri Pirko <redacted>
In case of sp2 pci driver registration fail, fix the error path to
start with sp1 pci driver unregister.
Fixes: c3ab435466d5 ("mlxsw: spectrum: Extend to support Spectrum-2 ASIC")
Signed-off-by: Jiri Pirko <redacted>
Signed-off-by: Ido Schimmel <redacted>Reviewed-by: Jesse Brandeburg <redacted>