DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Pablo de Lara <pablo.de.lara.guarch@intel.com>, dev@dpdk.org
Cc: helin.zhang@intel.com
Subject: Re: [dpdk-dev] [PATCH] kni: fix compilation with gcc 6.1
Date: Fri, 24 Jun 2016 09:28:02 +0100	[thread overview]
Message-ID: <576CEF12.4040203@intel.com> (raw)
In-Reply-To: <1466692704-2811-1-git-send-email-pablo.de.lara.guarch@intel.com>

On 6/23/2016 3:38 PM, Pablo de Lara wrote:
> Using gcc 6.1, in some cases, kni fails to compile
> because of unused variables:
> 
> build/lib/librte_eal/linuxapp/kni/ixgbe_main.c:82:19:
> error: ‘ixgbe_copyright’
> defined but not used [-Werror=unused-const-variable=]
> static const char ixgbe_copyright[] =
>                    ^~~~~~~~~~~~~~~
> 
> build/lib/librte_eal/linuxapp/kni/ixgbe_main.c:62:19:
> error: ‘ixgbe_driver_string’
> defined but not used [-Werror=unused-const-variable=]
> static const char ixgbe_driver_string[] =
> 
> Fixes: 3fc5ca2f6352 ("kni: initial import")
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>

  parent reply	other threads:[~2016-06-24  8:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-23 14:38 Pablo de Lara
2016-06-23 14:59 ` Thomas Monjalon
2016-06-23 16:45   ` De Lara Guarch, Pablo
2016-06-24  8:28 ` Ferruh Yigit [this message]
2016-06-27 10:18   ` Thomas Monjalon

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=576CEF12.4040203@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=dev@dpdk.org \
    --cc=helin.zhang@intel.com \
    --cc=pablo.de.lara.guarch@intel.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).