Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

From: Dave Jones
Date: Sun Apr 29 2007 - 17:36:28 EST

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@xxxxxxxx> 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)) ?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at