diff options
author | Yongqiang Liu <[email protected]> | 2022-12-07 07:20:45 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-12-09 10:44:27 +0000 |
commit | ae18dcdff0f8d7e84cd3fd9f496518b5e72d185d (patch) | |
tree | 2d98a10a506407ae1782e55edb594e0618f2cc3e /lib/mpi/mpi-sub-ui.c | |
parent | 44aa5a6dba8283bfda28b1517af4de711c5652a4 (diff) |
net: defxx: Fix missing err handling in dfx_init()
When eisa_driver_register() or tc_register_driver() failed,
the modprobe defxx would fail with some err log as follows:
Error: Driver 'defxx' is already registered, aborting...
Fix this issue by adding err hanling in dfx_init().
Fixes: e89a2cfb7d7b5 ("[TC] defxx: TURBOchannel support")
Signed-off-by: Yongqiang Liu <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions