DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Helin Zhang <helin.zhang@intel.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] i40e: fix of compile errors
Date: Thu, 18 Dec 2014 00:41:01 +0100	[thread overview]
Message-ID: <1544745.Nsf0s5z0WG@xps13> (raw)
In-Reply-To: <1418794859-7051-1-git-send-email-helin.zhang@intel.com>

> Compile warning which is treated as error occurs on Oracle Linux
> (kernel 2.6.39, gcc 4.4.7) as below. Aliasing
> 'struct i40e_aqc_debug_reg_read_write' should be avoided. Use the
> elements inside that structure directly can fix the issue.
> 
> lib/librte_pmd_i40e/i40e_ethdev.c: In function 'eth_i40e_dev_init':
> lib/librte_pmd_i40e/i40e_ethdev.c:5318: error: dereferencing pointer
>   'cmd' does break strict-aliasing rules
> lib/librte_pmd_i40e/i40e_ethdev.c:5314: note: initialized from here
> 
> Signed-off-by: Helin Zhang <helin.zhang@intel.com>

Applied

Thanks
-- 
Thomas

      reply	other threads:[~2014-12-17 23:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-17  5:40 Helin Zhang
2014-12-17 23:41 ` 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=1544745.Nsf0s5z0WG@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=dev@dpdk.org \
    --cc=helin.zhang@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).