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

Alan Cox
2010-11-09T18:34:33Z

On Tue, 09 Nov 2010 13:55:23 -0300
Davidlohr Bueso <dave@gnu.org> wrote:

> From: Davidlohr Bueso <dave@gnu.org>
>
> 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