Re: [PATCH 9/9] test/hash: Fix warning in preprocessor symbol evaluation

From: Arnd Bergmann
Date: Wed Aug 10 2016 - 18:45:26 EST


On Wednesday, August 10, 2016 11:54:15 PM CEST Arnd Bergmann wrote:
> From: George Spelvin <linux@xxxxxxxxxxxxxxxxxxx>
>
> Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
> > Some versions of gcc don't like tests for the value of an undefined
> > preprocessor symbol, even in the #else branch of an #ifndef:
>
> Damn, I had hoped that would work universally; I tried to avoid the
> uglier #if-inside-#ifdef construction. GCC 6 is quite happy wth it.
>
> But no objections.
>
> If you want:
> Acked-by: George Spelvin <linux@xxxxxxxxxxxxxxxxxxx>
>
> But here's an alternative. Geert, what do you think of this?
> Acked-by: George Spelvin <linux@xxxxxxxxxxxxxxxxxxx>

I picked the wrong patch from patchwork, I meant to get
https://patchwork.kernel.org/patch/9139839/ instead, sorry
for the mixup. I originally had my own patch in the series
and then replaced it with Geert's before sending it out,
but got the wrong url.

Arnd