From: Wenji Huang <wenji.huang@oracle.com>
To: linux-serial@vger.kernel.org
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] Fix the warning of uninitialized value in driver/serial/8250.c
Date: Mon, 02 Feb 2009 17:10:06 +0800 [thread overview]
Message-ID: <4986B86E.3030604@oracle.com> (raw)
This patch is to remove the the warning of uninitialized i in
driver/serial/8250.c
Signed-off-by: Wenji Huang <wenji.huang@oracle.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;
next reply other threads:[~2009-02-02 9:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-02 9:10 Wenji Huang [this message]
2009-02-02 10:03 ` [PATCH] Fix the warning of uninitialized value in driver/serial/8250.c Laurent Pinchart
2009-02-03 17:21 ` Alan Cox
2009-02-03 17:22 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4986B86E.3030604@oracle.com \
--to=wenji.huang@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.