net/spnic: Fix an error when netdev failed to link up
Ramaxel inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I4TPKM CVE: NA ----------------------------------------------- In the case of no VF, spnic_pf_event_handler/spnic_pf_mag_event_handler should be registered too. Signed-off-by: NYanling Song <songyl@ramaxel.com> Reviewed-by: Nwenliang <wenliang@ramaxel.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录