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

From: Alan Cox
Date: Tue Nov 09 2010 - 13:34:38 EST


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.

The current compilers all seem to get it right anyway.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/