linux/drivers/net/fddi
Yongqiang Liu bba527e4ec net: defxx: Fix missing err handling in dfx_init()
[ Upstream commit ae18dcdff0 ]

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: e89a2cfb7d ("[TC] defxx: TURBOchannel support")
Signed-off-by: Yongqiang Liu <liuyongqiang13@huawei.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-18 11:41:13 +01:00
..
skfp
defxx.c net: defxx: Fix missing err handling in dfx_init() 2023-01-18 11:41:13 +01:00
defxx.h
defza.c net: fddi: fix UAF in fza_probe 2021-07-25 14:35:15 +02:00
defza.h
Kconfig
Makefile