From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id D4FB54C94 for ; Mon, 25 Jun 2018 17:38:37 +0200 (CEST) Received: from rsa59-2-82-233-193-189.fbx.proxad.net ([82.233.193.189] helo=droids-corp.org) by mail.droids-corp.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fXTa7-0001sZ-Va; Mon, 25 Jun 2018 17:39:09 +0200 Received: by droids-corp.org (sSMTP sendmail emulation); Mon, 25 Jun 2018 17:38:35 +0200 Date: Mon, 25 Jun 2018 17:38:35 +0200 From: Olivier Matz To: Gage Eads Cc: dev@dpdk.org Message-ID: <20180625153835.6yxciwdca3hkyeg4@platinum> References: <20180604194000.12632-1-gage.eads@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180604194000.12632-1-gage.eads@intel.com> User-Agent: NeoMutt/20170113 (1.7.2) 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: Mon, 25 Jun 2018 15:38:38 -0000 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