Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2429141pxj; Mon, 17 May 2021 01:02:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWttCMeDHiCWew0sOy7EKNPf4B61AkFd3DbHWiotWkxhsCGFZZHM37OSrGO2TCHZrRSBiq X-Received: by 2002:a17:906:aac8:: with SMTP id kt8mr7878531ejb.402.1621238546395; Mon, 17 May 2021 01:02:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621238546; cv=none; d=google.com; s=arc-20160816; b=cjTU6kRp25KPMaCLZoKedQaXbywOSwinHYlW/8/olGJlx1G8QJBLWznhPaHxe2QpIw QhcWk1Gq2KXXqA8tkM8hYqOm45l00r15rwgeOkszwaLa0rmkiM+2l+LDIFPzDo3G5LYB 0l1Gqd1it3mhq5+qhsMOBXKBqWCgpx/ikqnkPB3+IATrXTX0cwTJ4vqxuNHNsaZLMtSh UPVZbEZv84rQgG203LTFX5U3sVFdJwJaSl4Z5AjolqbNCju2rdSwFFDCrmInM8Ht2HKt Bnhlxyg3GZqr+THxQfO/SNKNgVPDuuLWYXB1TXNfn1WpdaunrM9fWHX6T4cHt4AMwehF HXvw== 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=dG8RTr89Obc5xHsjXR029uObNUMdfdmqNkBgDrnpenk=; b=Dih7dfyyYwLHqafeAHwJ43HYsUxNx+6JTtmxZNyuwberZhdWYp05X6u/75/a/QtKvB FURpQn9Pvd4Vspd/WuP2jcoZVpEbhZ0Nu6kdeXVewzALMyT324J0gOuoxs5QKXmwMRzn Ifw+I88A0lY6leqHUfQX1gfVp/3D23S9Mvz9MsS2CzHHkP1L7xszc9TeoEmoFG0Wy2pX fGjx0EeZLgyCk6oaaAvvGy05sCxz3aqhWtkHcDycQoJhGe3/Xt7VxjniVXc0LhDvZmZr i0ynWVIpVYNRl1P15b968gh1dFSYzGEnK4MvXda+Z7zkgK9ppSCrWYfMGZkoUxK4NeIH ewhg== 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 w11si16588211ede.590.2021.05.17.01.02.03; Mon, 17 May 2021 01:02:26 -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 S235622AbhEQIAx (ORCPT + 99 others); Mon, 17 May 2021 04:00:53 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:3776 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235461AbhEQIAN (ORCPT ); Mon, 17 May 2021 04:00:13 -0400 Received: from dggems706-chm.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FkBJH6spRzmj3m; Mon, 17 May 2021 15:55:27 +0800 (CST) Received: from dggema704-chm.china.huawei.com (10.3.20.68) by dggems706-chm.china.huawei.com (10.3.19.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Mon, 17 May 2021 15:58:55 +0800 Received: from localhost.localdomain (10.67.165.2) by dggema704-chm.china.huawei.com (10.3.20.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 17 May 2021 15:58:55 +0800 From: Yang Shen To: , CC: , , Yang Shen , Simon Horman Subject: [PATCH v2 17/24] net: netronome: nfp: Fix wrong function name in comments Date: Mon, 17 May 2021 12:45:28 +0800 Message-ID: <20210517044535.21473-18-shenyang39@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210517044535.21473-1-shenyang39@huawei.com> References: <20210517044535.21473-1-shenyang39@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.2] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggema704-chm.china.huawei.com (10.3.20.68) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/ethernet/netronome/nfp/ccm_mbox.c:52: warning: expecting prototype for struct nfp_ccm_mbox_skb_cb. Prototype was for struct nfp_ccm_mbox_cmsg_cb instead drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c:35: warning: expecting prototype for struct nfp_tun_pre_run_rule. Prototype was for struct nfp_tun_pre_tun_rule instead drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c:38: warning: expecting prototype for NFFW_INFO_VERSION history(). Prototype was for NFFW_INFO_VERSION_CURRENT() instead Cc: Simon Horman Cc: Jakub Kicinski Signed-off-by: Yang Shen --- drivers/net/ethernet/netronome/nfp/ccm_mbox.c | 2 +- drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c | 2 +- drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/netronome/nfp/ccm_mbox.c b/drivers/net/ethernet/netronome/nfp/ccm_mbox.c index f0783aa9e66e..4247bca09807 100644 --- a/drivers/net/ethernet/netronome/nfp/ccm_mbox.c +++ b/drivers/net/ethernet/netronome/nfp/ccm_mbox.c @@ -36,7 +36,7 @@ enum nfp_net_mbox_cmsg_state { }; /** - * struct nfp_ccm_mbox_skb_cb - CCM mailbox specific info + * struct nfp_ccm_mbox_cmsg_cb - CCM mailbox specific info * @state: processing state (/stage) of the message * @err: error encountered during processing if any * @max_len: max(request_len, reply_len) diff --git a/drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c b/drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c index d19c02e99114..ab70179728f6 100644 --- a/drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c +++ b/drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c @@ -21,7 +21,7 @@ #define NFP_TUN_PRE_TUN_IPV6_BIT BIT(7) /** - * struct nfp_tun_pre_run_rule - rule matched before decap + * struct nfp_tun_pre_tun_rule - rule matched before decap * @flags: options for the rule offset * @port_idx: index of destination MAC address for the rule * @vlan_tci: VLAN info associated with MAC diff --git a/drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c b/drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c index d4e02542e2e9..e2e5fd003ad6 100644 --- a/drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c +++ b/drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c @@ -24,7 +24,7 @@ #define NFFW_FWID_ALL 255 -/** +/* * NFFW_INFO_VERSION history: * 0: This was never actually used (before versioning), but it refers to * the previous struct which had FWINFO_CNT = MEINFO_CNT = 120 that later -- 2.17.1