Re: [PATCH] 8250: Eliminate compile warning of 8250.c

From: Alan Cox
Date: Tue Nov 25 2008 - 05:22:31 EST


On Tue, 25 Nov 2008 11:58:23 +0800
Sheng Yang <sheng@xxxxxxxxxxxxxxx> wrote:

> (Something wrong with encoding of the first mail...)
>
> The patch based on linux-2.6 upstream and elimiate this compile warning
> info:
>
> drivers/serial/8250.c: In function 'serial8250_shutdown':
> drivers/serial/8250.c:1612: warning: 'i' may be used uninitialized in this
> function

NAK - again.

There is no real bug here and you risk hiding future ones. It also
doesn't produce a warning with a modern gcc.

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/