提交 25e4a3b9 编写于 作者: G gaoxun 提交者: Xie XiuQi

net: hns3: update return value at cae initialization

driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

This patch is dedicated to update return value on
exception handling branch regarding to cae init
Signed-off-by: Ngaoxun <gaoxun3@huawei.com>
Reviewed-by: Ndengweiwei <dengweiwei@huawei.com>
Reviewed-by: Nliyongxin1 <liyongxin1@huawei.com>
Reviewed-by: Nzhongzhaohui <zhongzhaohui@huawei.com>
Reviewed-by: Nchenjunxin <chenjunxin1@huawei.com>
Reviewed-by: NYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 308a2805
......@@ -60,7 +60,7 @@
#define HCLGE_OPC_DCQCN_TEMPLATE_CFG 0x7014
#define HCLGE_OPC_DCQCN_GET_MSG_CNT 0x7017
#define HNAE_DRIVER_VERSION "1.9.16.0"
#define HNAE_DRIVER_VERSION "1.9.16.3"
#define MAX_MSG_OUT_SIZE (1024U * 2048U)
#define MAX_MSG_IN_SIZE (1024U * 2048U)
......@@ -1124,6 +1124,7 @@ int nictool_k_init(void)
"nic_dev");
if (IS_ERR(pdevice)) {
pr_err("device_create fail.\n");
ret = -EPERM;
goto device_create_err;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册