]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add error handler for initializing command queue
authorHuazhong Tan <tanhuazhong@huawei.com>
Sat, 6 Apr 2019 07:43:34 +0000 (15:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2019 22:30:49 +0000 (15:30 -0700)
commit251d3e72f41be858dc6e53fa8e99a75d255dfeac
treee87458ae7ac9f3929b14e9c495586152294a5cea
parent53e75c8b80029cbde36ad2d0dc6f3587c88cf2ad
net: hns3: add error handler for initializing command queue

This patch adds error handler for the failure of command queue
initialization both PF and VF.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c