Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757199Ab0HQI4h (ORCPT ); Tue, 17 Aug 2010 04:56:37 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:54540 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751730Ab0HQI4f (ORCPT ); Tue, 17 Aug 2010 04:56:35 -0400 Message-ID: <4C6A4EBF.9060301@monstr.eu> Date: Tue, 17 Aug 2010 10:56:31 +0200 From: Michal Simek Reply-To: monstr@monstr.eu User-Agent: Thunderbird 2.0.0.22 (X11/20090625) MIME-Version: 1.0 To: Alan Cox 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 References: <1282031947-16483-1-git-send-email-monstr@monstr.eu> <20100817091720.56183993@linux.intel.com> In-Reply-To: <20100817091720.56183993@linux.intel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 912 Lines: 31 Alan Cox wrote: > 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. I wasn't sure if is bug or not. Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian -- 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/