Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1156883pxj; Sat, 15 May 2021 05:42:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxO2TflpHsqsPBo/pZ3a1StrNjOo1sOx8L7gVPjXqhNz3uTfNNMFoxjjxEYof8xwEbdmFOS X-Received: by 2002:aa7:db90:: with SMTP id u16mr60721702edt.106.1621082543598; Sat, 15 May 2021 05:42:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621082543; cv=none; d=google.com; s=arc-20160816; b=jAicgALyFkuhXARTYCgQ8PPik8EBN2ECcsWivEuM3DaWgV5rzMceVjxVs/7iFQcqn+ Y5eXJe1bSvzPNWx9kHsIuaBEvOvBzTt5KXcFETJUSffxiT7j9q6w1MbtUxdT+N+5fMqj KOwet9/raTrJRkpA2Xekz4tfPlUzG4GaN5Pxns74EdYgNYhd+W8ajcZu5qk+3nnmqmjR +BTX1fTXbdbDdbMSA+mZdspblTRWnso6F902v224fZsCsT0dAcy7E7Wck/VVUz/Bsi4F Ubuyk9xijQj/Kgl7fAyqTPLjy+Zq+1KoYQB7YbdwxMm1MgVwpc6lO4QkPCTVKmdxRFPm +lhg== 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=B0fWR27CGwMd2/B2crYkaBxZofc8jzeE6VRIg7Q8GdY=; b=XUqxT78SOgT3epr7lzKlmqhH0iUYSVwFy/GLW5ALDSjdNuoHWKD0o42eZjpOigw50l 3MCZ/HT8p8DUPir71KAZi+PjAolySwz2QB9kGBldqsWQ47DtXMZ2/LVTfLBEt0pVDcIv BKPAxXE35QEqNDzXZMzuLKf9vduvVaVjzyDNPJy1cl++BI2pe2oIOfwPD6OtnyKgH/ac ta5+p4pkdaMpUCNCnunhkB3T4gP6m+rtRV/A7gWbWVRoOooNguxLRYYS+VpiNnIopKo1 mrnz/8MYDVPKlaLs8ZNwXMULa3ZoE6icfgqW+jyt78aiB0EM32oC9l5rIhbhDzbT5cyV QKHQ== 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 n21si4261925edq.44.2021.05.15.05.42.00; Sat, 15 May 2021 05:42:23 -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 S234972AbhEOLAW (ORCPT + 99 others); Sat, 15 May 2021 07:00:22 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3553 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233207AbhEOKz5 (ORCPT ); Sat, 15 May 2021 06:55:57 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Fj2Jn49z8zsRDl; Sat, 15 May 2021 18:51:53 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Sat, 15 May 2021 18:54:26 +0800 From: Yang Shen To: , CC: , , Yang Shen , Simon Horman Subject: [PATCH 17/34] net: netronome: nfp: Fix wrong function name in comments Date: Sat, 15 May 2021 18:53:42 +0800 Message-ID: <1621076039-53986-18-git-send-email-shenyang39@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1621076039-53986-1-git-send-email-shenyang39@huawei.com> References: <1621076039-53986-1-git-send-email-shenyang39@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] 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 f0783aa..4247bca 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 d19c02e..ab70179 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 d4e0254..e2e5fd0 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.7.4