]> asedeno.scripts.mit.edu Git - linux.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)
commit4339ef396ab65a61f7f22f36d7ba94b6e9e0939b
treee87458ae7ac9f3929b14e9c495586152294a5cea
parent18e2488881c61957b8fc1a25c0bb8419e25ddb6f
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