From: shenhao shenhao21@huawei.com
driver inclusion category: bugfix bugzilla: NA CVE: NA
-------------------------------------------------
The function name xxx_periodical_service_task is misused "periodical", it should be used "periodic" according to its real meaning.
Signed-off-by: Guangbin Huang huangguangbin2@huawei.com Signed-off-by: shenhao shenhao21@huawei.com Reviewed-by: Zhong Zhaohui zhongzhaohui@huawei.com Signed-off-by: Yang Yingliang yangyingliang@huawei.com --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 6 +++--- drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c index e08ae66..3f9ed71 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c @@ -4014,7 +4014,7 @@ static void hclge_update_vport_alive(struct hclge_dev *hdev) } }
-static void hclge_periodical_service_task(struct hclge_dev *hdev) +static void hclge_periodic_service_task(struct hclge_dev *hdev) { unsigned long delta = round_jiffies_relative(HZ);
@@ -4064,11 +4064,11 @@ static void hclge_service_task(struct work_struct *work)
hclge_reset_service_task(hdev); hclge_mailbox_service_task(hdev); - hclge_periodical_service_task(hdev); + hclge_periodic_service_task(hdev);
/* Handle reset and mbx again in case periodical task delays the * handling by calling hclge_task_schedule() in - * hclge_periodical_service_task(). + * hclge_periodic_service_task(). */ hclge_reset_service_task(hdev); hclge_mailbox_service_task(hdev); diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c b/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c index 41a3d42..4a3b79dd 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c @@ -2097,7 +2097,7 @@ static void hclgevf_keep_alive(struct hclgevf_dev *hdev) "VF sends keep alive cmd failed(=%d)\n", ret); }
-static void hclgevf_periodical_service_task(struct hclgevf_dev *hdev) +static void hclgevf_periodic_service_task(struct hclgevf_dev *hdev) { unsigned long delta = round_jiffies_relative(HZ); struct hnae3_handle *handle = &hdev->nic; @@ -2149,11 +2149,11 @@ static void hclgevf_service_task(struct work_struct *work)
hclgevf_reset_service_task(hdev); hclgevf_mailbox_service_task(hdev); - hclgevf_periodical_service_task(hdev); + hclgevf_periodic_service_task(hdev);
/* Handle reset and mbx again in case periodical task delays the * handling by calling hclgevf_task_schedule() in - * hclgevf_periodical_service_task() + * hclgevf_periodic_service_task() */ hclgevf_reset_service_task(hdev); hclgevf_mailbox_service_task(hdev);