Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932300Ab0HQIzG (ORCPT ); Tue, 17 Aug 2010 04:55:06 -0400 Received: from mga09.intel.com ([134.134.136.24]:2321 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756486Ab0HQIzE (ORCPT ); Tue, 17 Aug 2010 04:55:04 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.55,381,1278313200"; d="scan'208";a="648485626" Date: Tue, 17 Aug 2010 09:17:20 +0100 From: Alan Cox To: Michal Simek Cc: michal.simek@petalogix.com, Greg Kroah-Hartman , Andrew Morton , Ralf Baechle , Manuel Lauss , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] serial: 8250: Initialize pointer to irq_info Message-ID: <20100817091720.56183993@linux.intel.com> In-Reply-To: <1282031947-16483-1-git-send-email-monstr@monstr.eu> References: <1282031947-16483-1-git-send-email-monstr@monstr.eu> Organization: Intel X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.9; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 655 Lines: 19 On Tue, 17 Aug 2010 09:59:06 +0200 Michal Simek 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/