DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Gage Eads <gage.eads@intel.com>
Cc: dev@dpdk.org, Olivier Matz <olivier.matz@6wind.com>
Subject: Re: [dpdk-dev] [PATCH] net: rename u16 to fix shadowed declaration warning
Date: Wed, 27 Jun 2018 22:57:44 +0200	[thread overview]
Message-ID: <1835547.RQn5My3jE0@xps> (raw)
In-Reply-To: <20180625153835.6yxciwdca3hkyeg4@platinum>

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 <gage.eads@intel.com>
> 
> Acked-by: Olivier Matz <olivier.matz@6wind.com>

Applied, thanks

      reply	other threads:[~2018-06-27 20:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04 19:40 Gage Eads
2018-06-25 15:38 ` Olivier Matz
2018-06-27 20:57   ` Thomas Monjalon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1835547.RQn5My3jE0@xps \
    --to=thomas@monjalon.net \
    --cc=dev@dpdk.org \
    --cc=gage.eads@intel.com \
    --cc=olivier.matz@6wind.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).