Re: [PATCH 1/2] serial: 8250: Initialize pointer to irq_info

From: Alan Cox
Date: Tue Aug 17 2010 - 04:55:12 EST


On Tue, 17 Aug 2010 09:59:06 +0200
Michal Simek <monstr@xxxxxxxxx> wrote:

> Initialize "i" irq_info pointer in serial_unlink_irq_chain.
>
> Compilation warning:
> CC drivers/serial/8250.o
> drivers/serial/8250.c: In function 'serial8250_shutdown':
> drivers/serial/8250.c:1701: warning: 'i' may be used uninitialized in
> this function

NAK (again)

Use a newer compiler - modern ones get this right.
--
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/