DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] pci: fix bsd build with gcc
Date: Tue, 04 Aug 2015 17:10:38 +0200	[thread overview]
Message-ID: <14272100.0prZvnSJQv@xps13> (raw)
In-Reply-To: <20150804150535.GA7340@bricha3-MOBL3>

2015-08-04 16:05, Bruce Richardson:
> On Tue, Aug 04, 2015 at 04:27:45PM +0200, Thomas Monjalon wrote:
> > GCC 4.8 raises this error:
> > lib/librte_eal/bsdapp/eal/eal_pci.c:453:15: error: cast discards
> > '__attribute__((const))' qualifier from pointer target type
> >    .pi_data = *(u_int32_t *)buf,
> >                ^
> > 
> > Note: this assignment seems useless because pi_data is filled
> > with memset later.
> > 
> > Fixes: 632b2d1deeed ("eal: provide functions to access PCI config")
> > 
> > Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
> 
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>

Applied

      reply	other threads:[~2015-08-04 15:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-04 14:27 Thomas Monjalon
2015-08-04 15:05 ` Bruce Richardson
2015-08-04 15:10   ` 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=14272100.0prZvnSJQv@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    /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).