[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4986B86E.3030604@oracle.com>
Date: Mon, 02 Feb 2009 17:10:06 +0800
From: Wenji Huang <wenji.huang@...cle.com>
To: linux-serial@...r.kernel.org
CC: lkml <linux-kernel@...r.kernel.org>
Subject: [PATCH] Fix the warning of uninitialized value in driver/serial/8250.c
This patch is to remove the the warning of uninitialized i in
driver/serial/8250.c
Signed-off-by: Wenji Huang <wenji.huang@...cle.com>
diff -Nurh drivers/serial/8250.c.Orig drivers/serial/8250.c
--- drivers/serial/8250.c.Orig 2009-02-02 14:02:47.000000000 -0500
+++ drivers/serial/8250.c 2009-02-02 14:03:30.000000000 -0500
@@ -1678,7 +1678,7 @@
static void serial_unlink_irq_chain(struct uart_8250_port *up)
{
- struct irq_info *i;
+ struct irq_info *i = NULL;
struct hlist_node *n;
struct hlist_head *h;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists