Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3352971pxb; Sun, 29 Aug 2021 23:13:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx09eI2yR/iBQQd/B1LH7FRT93Awr2i3UU4WWAXeyp4oh5KMW4dqeYV3I87fT/rPJg2btbM X-Received: by 2002:a50:da47:: with SMTP id a7mr22055299edk.315.1630304000124; Sun, 29 Aug 2021 23:13:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630304000; cv=none; d=google.com; s=arc-20160816; b=iWB5TCQAgcTk3wjwNW6qaq2G6Rgky2JqKCPMDvIhIJt9G0GoLJ7vPPNzdEcLEkql0z Ylun5RugEy+4fstHoTv4CeEs+5URSmBDVdvQWV4yoXnpexp3VLYiKNQqymlFSLfLGo0S zi4YrsHkHhLrSQBK2Jp2K9CHhYQr6o6A3RLwxPgySlX8Q6xuh/aNWCsihm6BFpTk7nVM mOYK2kzAdJDGX4SZUrxcCY19eCRMNj6/tC2sd70HCAuQ+QHOVSbsPjDSIaC0FORfrbce M3Lr43oJCCkOxLBcN0eT7vSFHlB7qXYN32lKHi621QzrPWx1S6I5MzwKt2Rvdt632hJr W9fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=QVRbMIlAVmjKZPy0I9Rm/iw/IkA5OONX1dZzeTPMIts=; b=m8jvBaZwMPs8MKcqwOVa9lkXmzIJuiePbuAUKY8G21Z43XxxRAFV8IvHh8FhTNjOM1 fJ1qnpSDymM1EaPzxenBuPh6L/B83FC7NIAzQSyNDJB8J/DD/m9m9v6g6PQk0ViShnN7 1gFevclDw1c9l53LF3Vo6bO1BKc2gxA+tq/6AYLXvcBuHj3eB9ZClkRPiIEj8vNld07E wAv2tCyyiiLibuYIX9HGQNFYgFpIhn35PwjfIDuf5Jh1HKZuv8Lm6aAgJW2FzHz866P+ NDwFjTgLK+BWmZJ+5nv8j2JqHDc6iiN6X8EBUy7w5V8ut38FUg4ExktRULIovRJ502Hn DgLQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d13si8512817edr.255.2021.08.29.23.12.38; Sun, 29 Aug 2021 23:13:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233093AbhH3GLe (ORCPT + 99 others); Mon, 30 Aug 2021 02:11:34 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:15227 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232091AbhH3GLb (ORCPT ); Mon, 30 Aug 2021 02:11:31 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Gyg0556ddz1DDvb; Mon, 30 Aug 2021 14:09:57 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Mon, 30 Aug 2021 14:10:37 +0800 Received: from localhost.localdomain (10.67.165.24) by dggemi759-chm.china.huawei.com (10.1.198.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Mon, 30 Aug 2021 14:10:36 +0800 From: Guangbin Huang To: , CC: , , , , Subject: [PATCH net-next 7/7] net: hns3: uniform parameter name of hclge_ptp_clean_tx_hwts() Date: Mon, 30 Aug 2021 14:06:42 +0800 Message-ID: <1630303602-44870-8-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1630303602-44870-1-git-send-email-huangguangbin2@huawei.com> References: <1630303602-44870-1-git-send-email-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggemi759-chm.china.huawei.com (10.1.198.145) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hao Chen The parameter name of hclge_ptp_clean_tx_hwts() in declaration is "dev", but the definition of this function is used the common name "hdev" as other functions, so modify it. Signed-off-by: Hao Chen Signed-off-by: Guangbin Huang --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.h index dbf5f4c08019..7a9b77de632a 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.h @@ -127,7 +127,7 @@ static inline struct hclge_dev *hclge_ptp_get_hdev(struct ptp_clock_info *info) } bool hclge_ptp_set_tx_info(struct hnae3_handle *handle, struct sk_buff *skb); -void hclge_ptp_clean_tx_hwts(struct hclge_dev *dev); +void hclge_ptp_clean_tx_hwts(struct hclge_dev *hdev); void hclge_ptp_get_rx_hwts(struct hnae3_handle *handle, struct sk_buff *skb, u32 nsec, u32 sec); int hclge_ptp_get_cfg(struct hclge_dev *hdev, struct ifreq *ifr); -- 2.8.1