Re: [PATCH] serial/8250: fix uninitialized warnings

From: Alan Cox
Date: Tue Nov 04 2008 - 12:41:47 EST


On Wed, 5 Nov 2008 02:26:00 +0900 (JST)
KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> wrote:

>
> fix following warnings.
>
> drivers/serial/8250.c: In function ‘serial8250_shutdown’:
> drivers/serial/8250.c:1612: warnings: ‘i’ may be used uninitialized in this function

NAK

This is an incorrect compiler warning. It's also one that current gcc
does not emit warnings for.

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/