From: Arend van Spriel <arend@broadcom.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: Build regressions/improvements in v3.13-rc7
Date: Mon, 6 Jan 2014 12:23:13 +0100 [thread overview]
Message-ID: <52CA9221.7090906@broadcom.com> (raw)
In-Reply-To: <1388998868-31448-1-git-send-email-geert@linux-m68k.org>
On 01/06/2014 10:01 AM, Geert Uytterhoeven wrote:
> + /scratch/kisskb/src/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c: warning: 'str_mask' may be used uninitialized in this function [-Wuninitialized]: => 789:19
> + /scratch/kisskb/src/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c: warning: 'str_shift' may be used uninitialized in this function [-Wuninitialized]: => 790:21
This is a false negative. These variables are used within 'if (strtab !=
NULL) {...}'. strtab is initialized to NULL and when set to non-NULL
also str_mask and str_shift are set.
So it seems gcc falls short on -Wuninitialized here.
Regards,
Arend
prev parent reply other threads:[~2014-01-06 11:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-06 9:01 Build regressions/improvements in v3.13-rc7 Geert Uytterhoeven
2014-01-06 9:05 ` Geert Uytterhoeven
2014-01-06 11:23 ` Arend van Spriel [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=52CA9221.7090906@broadcom.com \
--to=arend@broadcom.com \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.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