From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3F872A04B5; Tue, 29 Sep 2020 18:56:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0B3931DAA0; Tue, 29 Sep 2020 18:55:23 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id B717C1D9CE for ; Tue, 29 Sep 2020 18:55:14 +0200 (CEST) IronPort-SDR: jKd1XqhlbIxuUf2A3/BCcJAVbv4Wx1XXEQYym2+lLdEEwRlUHnj+OibMSTJkhw6Wj0Bb24xDLl oEE+rCWE9oNQ== X-IronPort-AV: E=McAfee;i="6000,8403,9759"; a="159612228" X-IronPort-AV: E=Sophos;i="5.77,319,1596524400"; d="scan'208";a="159612228" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2020 09:55:13 -0700 IronPort-SDR: MqcUzb+XnJGn6SkfDGYmAj4/CURZib5y9qbWzbgQsWAuNV2z6fgmStKKBI6mK+p0KEgok/6X4G CUjazwQ62BFw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,319,1596524400"; d="scan'208";a="307833215" Received: from silpixa00399126.ir.intel.com ([10.237.222.4]) by orsmga003.jf.intel.com with ESMTP; 29 Sep 2020 09:55:12 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: thomas@monjalon.net, Bruce Richardson , i.dyukov@samsung.com Date: Tue, 29 Sep 2020 17:55:01 +0100 Message-Id: <20200929165502.336919-6-bruce.richardson@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200929165502.336919-1-bruce.richardson@intel.com> References: <20200929153413.280581-1-bruce.richardson@intel.com> <20200929165502.336919-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 5/6] ethdev: fix mis-named parameter X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The parameter to rte_eth_link_speed_to_str was called "speed_link" in the function prototype in the header file, but "link_speed" everywhere else. This showed up as warnings when building the API docs, due to missing and undocumented parameters from doxygen's viewpoint. Rename the prototype value to the correct name to fix these issues. Fixes: fbf931c9c392 ("ethdev: format link status text") Cc: i.dyukov@samsung.com Signed-off-by: Bruce Richardson --- lib/librte_ethdev/rte_ethdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index 645a18664..9759f1330 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -2452,7 +2452,7 @@ int rte_eth_link_get_nowait(uint16_t port_id, struct rte_eth_link *link); * No free is required. */ __rte_experimental -const char *rte_eth_link_speed_to_str(uint32_t speed_link); +const char *rte_eth_link_speed_to_str(uint32_t link_speed); /** * @warning -- 2.25.1