Re: [PATCH] serial: 8250: fix uninitialized compiler warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2010-11-09 at 18:33 +0000, Alan Cox wrote:
> On Tue, 09 Nov 2010 13:55:23 -0300
> Davidlohr Bueso <dave@xxxxxxx> wrote:
> 
> > From: Davidlohr Bueso <dave@xxxxxxx>
> > 
> > This addresses:
> > 
> >   CC [M]  drivers/serial/8250.o
> > drivers/serial/8250.c: In function âserial8250_shutdownâ:
> > drivers/serial/8250.c:1696: warning: âiâ may be used uninitialized in this function
> > drivers/serial/8250.c:1696: note: âiâ was declared here
> 
> NAK - pleass see the four or five previous discussions on this one.
> 
Yes I should have googled this one before sending.

> The current compilers all seem to get it right anyway.

This is with gcc 4.4.5 (ubuntu 10.10 - latest), released on October 1st,
2010 (quite current).

Thanks,
Davidlohr


--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux