Re: [PATCH] 8250: Fix compiler warning

From: Kumar Gala
Date: Wed Aug 10 2011 - 10:01:33 EST



On Aug 4, 2011, at 1:45 PM, Alan Cox wrote:

> On Thu, 4 Aug 2011 03:13:01 -0500
> Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx> wrote:
>
>> drivers/tty/serial/8250.c: In function 'serial8250_shutdown':
>> drivers/tty/serial/8250.c:1775:19: warning: 'i' may be used uninitialized in this function
>
> NAK, as with all the previous nacks of this.
>
> Use a newer gcc - modern gcc gets it right.

How modern? Building with a gcc 4.5.x

- k--
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/