diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_nictool.c b/drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_nictool.c index 2111c6a92fa622fa8307a1f2c3ea4fdf9628d967..839f25f394f9a830b4c88bce12d1934539395f41 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_nictool.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_nictool.c @@ -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; }