From: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [PATCH] ixgbe: Fix clang compilation issue
Date: Tue, 30 Sep 2014 19:14:45 +0200 [thread overview]
Message-ID: <4234350.b4MBTPmRMN@xps13> (raw)
In-Reply-To: <2306E3D2-B159-42B0-AA59-3B3400E9A2A6-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org>
> > Issue reported by Keith Wiles.
> > Clang fails with an error about a variable being used uninitialized:
> >
> > CC ixgbe_rxtx_vec.o
> > /home/keithw/projects/dpdk-code/org-dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:67:30:
> > error: variable 'dma_addr0' is uninitialized
> > when used here [-Werror,-Wuninitialized]
> > dma_addr0 = _mm_xor_si128(dma_addr0, dma_addr0);
> > ^~~~~~~~~
> >
> > This error can be fixed by replacing the call to xor which
> > takes two parameters, by a call to setzero, which does not take any.
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
>
> Acked-by: Keith Wiles <keith.wiles-N3adQXj4T0ZWk0Htik3J/w@public.gmane.org>
Acked and applied
Thanks
--
Thomas
next prev parent reply other threads:[~2014-09-30 17:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-29 21:50 Building current 1.8.1-rc1 with clang Wiles, Roger Keith
[not found] ` <A07EB24F-3F3B-4783-BE9B-5E5AA0FD08D9-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org>
2014-09-30 9:34 ` Bruce Richardson
2014-09-30 9:40 ` [PATCH] ixgbe: Fix clang compilation issue Bruce Richardson
[not found] ` <1412070008-4782-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-09-30 13:46 ` Wiles, Roger Keith
[not found] ` <2306E3D2-B159-42B0-AA59-3B3400E9A2A6-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org>
2014-09-30 17:14 ` Thomas Monjalon [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-10-22 10:54 Bruce Richardson
[not found] ` <1413975266-24066-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-22 10:55 ` Richardson, Bruce
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=4234350.b4MBTPmRMN@xps13 \
--to=thomas.monjalon-pdr9zngts4eavxtiumwx3w@public.gmane.org \
--cc=bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.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).