lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 10 Aug 2011 17:24:45 +0300
From:	Maxin B John <maxin.john@...il.com>
To:	Kumar Gala <galak@...nel.crashing.org>
Cc:	Alan Cox <alan@...rguk.ukuu.org.uk>, Greg KH <greg@...ah.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] 8250: Fix compiler warning

Hi Alan,

On Wed, Aug 10, 2011 at 5:01 PM, Kumar Gala <galak@...nel.crashing.org> wrote:
>
> On Aug 4, 2011, at 1:45 PM, Alan Cox wrote:
>
>> On Thu,  4 Aug 2011 03:13:01 -0500
>> Kumar Gala <galak@...nel.crashing.org> wrote:
>>
>>> drivers/tty/serial/8250.c: In function 'serial8250_shutdown':
>>> drivers/tty/serial/8250.c:1775:19: warning: 'i' may be used uninitialized in this function
>>
>> NAK, as with all the previous nacks of this.
>>
>> Use a newer gcc - modern gcc gets it right.

Can we use "uninitialized_var(x)" present in "linux/compiler-gcc.h"
in this scenario ?
ie:
struct irq_info *uninitialized_var(i);

Warm Regards,
Maxin
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ