Messages in this thread | | | Date | Wed, 7 Dec 2022 14:57:52 +0100 | From | Jiri Pirko <> | Subject | Re: [PATCH net] net: defxx: Fix missing err handling in dfx_init() |
| |
Wed, Dec 07, 2022 at 08:20:45AM CET, liuyongqiang13@huawei.com wrote: >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 <liuyongqiang13@huawei.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
| |