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]
Message-Id: <20070429144542.be8b8285.akpm@linux-foundation.org>
Date:	Sun, 29 Apr 2007 14:45:42 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Dave Jones <davej@...hat.com>
Cc:	bbpetkov@...oo.de, Andy Whitcroft <apw@...dowen.org>,
	linux-kernel@...r.kernel.org,
	Jeremy Fitzhardinge <jeremy@...source.com>
Subject: Re: [PATCH] mm/memory.c: remove warning from an uninitialized
 spinlock. was: Re: 2.6.21-rc7-mm2

On Sun, 29 Apr 2007 17:36:01 -0400 Dave Jones <davej@...hat.com> wrote:

> On Sun, Apr 29, 2007 at 02:24:40AM -0700, Andrew Morton wrote:
>  > On Sun, 29 Apr 2007 08:50:49 +0200 Borislav Petkov <bbpetkov@...oo.de> wrote:
>  > 
>  > > Introduce a macro for suppressing gcc from generating a warning about a probable
>  > > unitialized state of a variable.
>  > 
>  > I ended up doing the below.
>  > 
>  > It's better to make this a per-compiler-version thing: later versions of
>  > gcc might need different tricks, or might provide __attribute__((stfu)) or
>  > whatever.
> 
> __attribute__((unused))  ?

That'll prevent unused-variable warnings, but there doesn't appear to be
an attribute to prevent might-be-used-uninitialized warnings.
-
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