From patchwork Tue Nov 9 16:55:23 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Davidlohr Bueso X-Patchwork-Id: 311592 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oA9GtkDv016536 for ; Tue, 9 Nov 2010 16:55:46 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753659Ab0KIQzh (ORCPT ); Tue, 9 Nov 2010 11:55:37 -0500 Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74]:54661 "EHLO homiemail-a5.g.dreamhost.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751841Ab0KIQzg convert rfc822-to-8bit (ORCPT ); Tue, 9 Nov 2010 11:55:36 -0500 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 09 Nov 2010 16:55:46 +0000 (UTC) X-Greylist: delayed 20296 seconds by postgrey-1.27 at vger.kernel.org; Tue, 09 Nov 2010 11:55:36 EST Received: from homiemail-a5.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTP id 8A65E704071; Tue, 9 Nov 2010 08:55:34 -0800 (PST) Received: from [186.40.39.46] (unknown [186.40.39.46]) (Authenticated sender: smtp@zesaurus.cl) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTPA id C2166704014; Tue, 9 Nov 2010 08:55:31 -0800 (PST) Subject: [PATCH] serial: 8250: fix uninitialized compiler warning From: Davidlohr Bueso Reply-To: dave@gnu.org To: Greg Kroah-Hartman Cc: LKML , linux-kbuild , linux-serial@vger.kernel.org Date: Tue, 09 Nov 2010 13:55:23 -0300 Message-ID: <1289321723.2260.14.camel@cowboy> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index 4d8e14b..f734eee 100644 --- a/drivers/serial/8250.c +++ b/drivers/serial/8250.c @@ -1693,7 +1693,7 @@ static int serial_link_irq_chain(struct uart_8250_port *up) 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;