From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id E7ACA1BF51 for ; Wed, 27 Jun 2018 22:57:48 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7FDE021A02; Wed, 27 Jun 2018 16:57:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 27 Jun 2018 16:57:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=hIBiTIgAbwRfDyJWMQm85TKwFy ZCDaRmx8R22L+nRRo=; b=XJ19pdWSjA8D8b083mrVjjjtJtPBb2q9vx1Vmda53d E3JKp0xhBSMQeA1zlhmSI0lZCDQSGA2Yl8S1Tyu1wY6D1Y3eFIjQPqPUHj/V1Di8 a6p+I3sOZxqFSiul7ndbrJnKelfQhrBUPn67KJ2qqWz7AcXP1Y/upJqSeoZ4Rcry 4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=hIBiTI gAbwRfDyJWMQm85TKwFyZCDaRmx8R22L+nRRo=; b=LssQqCp9iyThFClqir5DYy oetpEj3cq8HeySrXliUmnahsN5ZhMUveQZ3imB2oRF/xmJgEorwYV9gQlXv63542 yrkafRDtIVT0U5dUAS08q0SKqYDk3nLZ29Gvb4efi3hZtiQIydnJCPh+2imwicTe 3b70kfTMN3F2cBFJBCtw6Lo9g7+XxI9v/1D7QrrbPvSwBT4bHq+73KGsdF4uvOlY KQWZaQAhaAtHkgXiIiJFewqNnRsE5wQKjfLxngmbtPB8gq8NY9wDT5Ty5303rKH5 jbuAVsU/ylL1cuX7qXZBXgfWM0W6neQxA9ZCzU24TdJL3E3ivJqgd8dSv/XLx4bw == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 8A42A1025D; Wed, 27 Jun 2018 16:57:47 -0400 (EDT) From: Thomas Monjalon To: Gage Eads Cc: dev@dpdk.org, Olivier Matz Date: Wed, 27 Jun 2018 22:57:44 +0200 Message-ID: <1835547.RQn5My3jE0@xps> In-Reply-To: <20180625153835.6yxciwdca3hkyeg4@platinum> References: <20180604194000.12632-1-gage.eads@intel.com> <20180625153835.6yxciwdca3hkyeg4@platinum> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net: rename u16 to fix shadowed declaration warning 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: , X-List-Received-Date: Wed, 27 Jun 2018 20:57:49 -0000 25/06/2018 17:38, Olivier Matz: > On Mon, Jun 04, 2018 at 02:40:00PM -0500, Gage Eads wrote: > > This patch renames u16 to u16_buf. u16 as a variable name causes a shadowed > > declaration warning if, for example, the application also typedefs u16 > > (e.g. by including a header containing "typedef unsigned short u16") and > > the application is built with -Wshadow. > > > > Signed-off-by: Gage Eads > > Acked-by: Olivier Matz Applied, thanks