]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jan 2020 22:52:23 +0000 (14:52 -0800)
commit1bc0539f79b2b046d17be13b55206b6287c8b061
treec2f42d275889e2be91ef76fc85241132b1ae95de
parentc1612a77c6dcefb81bdc17dc2c5a073851d32c16
net: hns3: modify hclge_func_reset_sync_vf()'s return type to void

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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c