Re: [PATCH] [1/23] x86: percpu: Avoid warnings of unused variablesin per cpu

From: Justin P. Mattock
Date: Thu Jun 10 2010 - 13:43:51 EST


On 06/10/2010 05:09 AM, Ingo Molnar wrote:

* Tejun Heo<tj@xxxxxxxxxx> wrote:

On 06/10/2010 01:10 PM, Andi Kleen wrote:
Avoid hundreds of warnings with a gcc 4.6 -Wall build

Cc: tj@xxxxxxxxxx
Cc: x86@xxxxxxxxxx

Signed-off-by: Andi Kleen<ak@xxxxxxxxxxxxxxx>

Acked-by: Tejun Heo<tj@xxxxxxxxxx>

Can x86 or -mm please take this patch? There isn't any pending percpu
patch currently and it seems a bit silly to start a branch for this
one.

Sure, queued it up.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Thanks for this.. I applied it over
here.. and now don't have all of
that spam from percpu while compiling
the kernel..

only one I see now is something about
warning: variable 'gfp' set but not used

if there's another I can test it if you
would like.

Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/