]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net: hns3: modify hclge_func_reset_sync_vf()'s return type to void
authorHuazhong Tan <tanhuazhong@huawei.com>
Sat, 11 Jan 2020 08:33:52 +0000 (16:33 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 26 Feb 2020 02:57:40 +0000 (20:57 -0600)
commit19c37f352817aff7730ce6059f05ad8beab5d6ea
tree4f31093f7290370c53891d0732b91af15cd1c2d1
parent83ed22be13eb845605c65e6fcbd00e9b76a73a2f
net: hns3: modify hclge_func_reset_sync_vf()'s return type to void

BugLink: https://launchpad.net/bugs/1859261
When synchronizes with VFs fail before PF function reset,
PF driver should go on its function reset, otherwise it
can not run normally anymore. So, hclge_func_reset_sync_vf()
should not affect the processing of PF reset, this patch
modifies its return type to void.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit c3106cac2a80381e860adbd416e166f778b8806a)
Signed-off-by: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c