[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <52CA9221.7090906@broadcom.com>
Date: Mon, 6 Jan 2014 12:23:13 +0100
From: Arend van Spriel <arend@...adcom.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: Build regressions/improvements in v3.13-rc7
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists