Re: Question on compiler warning

2014-01-02 Thread David Rientjes
On Thu, 2 Jan 2014, Larry Finger wrote: > I am definitely building this driver in my configuration. Variable > CONFIG_CC_OPTIMIZE_FOR_SIZE was not set, but changing it to "y" did not change > the result. > I get this warning with gcc-4.6.3 and my gcc-4.5.1 cross compiler. -- To unsubscribe from

Re: Question on compiler warning

2014-01-02 Thread Larry Finger
On 01/02/2014 03:56 PM, David Rientjes wrote: On Mon, 30 Dec 2013, Larry Finger wrote: + /scratch/kisskb/src/drivers/net/wireless/b43/phy_n.c: warning: 'val_addr' may be used uninitialized in this function [-Wuninitialized]: => 178:21 This warning does not show up on any of my compilers, and i

Re: Question on compiler warning

2014-01-02 Thread David Rientjes
On Mon, 30 Dec 2013, Larry Finger wrote: > + /scratch/kisskb/src/drivers/net/wireless/b43/phy_n.c: warning: 'val_addr' > may be used uninitialized in this function [-Wuninitialized]: => 178:21 > > This warning does not show up on any of my compilers, and it should not as the > initialization and

Re: Question on compiler warning

2013-12-31 Thread Larry Finger
On 12/31/2013 04:56 AM, Mark Cave-Ayland wrote: Hi Larry, Could it be that you don't see the issue the locally because you've got different compiler optimisation settings? I've seen a similar bug recently on another project where the "may be used uninitialized" warning appears with -O0 and -O1 b

Re: Question on compiler warning

2013-12-31 Thread Mark Cave-Ayland
On 31/12/13 01:24, Larry Finger wrote: In his regular article entitled Build regressions/improvements in v3.13-rc6" (http://lkml.indiana.edu/hypermail/linux/kernel/1312.3/01550.html), Geert Uytterhoeven reports the following warning regression: + /scratch/kisskb/src/drivers/net/wireless/b43/phy

Re: Question on compiler warning

2013-12-31 Thread Geert Uytterhoeven
On Tue, Dec 31, 2013 at 2:24 AM, Larry Finger wrote: > In his regular article entitled Build regressions/improvements in v3.13-rc6" > (http://lkml.indiana.edu/hypermail/linux/kernel/1312.3/01550.html), Geert > Uytterhoeven reports the following warning regression: > > + /scratch/kisskb/src/drivers

Question on compiler warning

2013-12-30 Thread Larry Finger
In his regular article entitled Build regressions/improvements in v3.13-rc6" (http://lkml.indiana.edu/hypermail/linux/kernel/1312.3/01550.html), Geert Uytterhoeven reports the following warning regression: + /scratch/kisskb/src/drivers/net/wireless/b43/phy_n.c: warning: 'val_addr' may be used