Re: [PATCH] Kbuild, lto: Avoid reported warning with strtoul

From: Viresh Kumar
Date: Tue Apr 22 2014 - 00:20:05 EST


On 21 April 2014 22:20, Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote:
> Hmm that's odd. I guess could assign it to a dummy variable

That produces this:

scripts/mod/modpost.c: In function âremove_dotâ:
scripts/mod/modpost.c:1708:16: warning: variable âignoreâ set but not
used [-Wunused-but-set-variable]

> or use viro's variant.

It looks fine but can't test if works exactly the same way as current
implementation.
--
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/