Re: powerpc/epapr: Move register keyword at the beginning of declaration

From: Michael Ellerman
Date: Wed Mar 14 2018 - 05:33:31 EST


On Wed, 2018-01-31 at 07:54:43 UTC, Mathieu Malaterre wrote:
> Fix warning for all register unsigned long (0,3-12) that appear during W=1
> compilation:
>
> ./arch/powerpc/include/asm/epapr_hcalls.h:479:2: warning: â??registerâ?? is not at beginning of declaration [-Wold-style-declaration]
> unsigned long register r[\d] asm("r[\d]");
>
> Signed-off-by: Mathieu Malaterre <malat@xxxxxxxxxx>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/65e13c202d7826dc3497c32961008d

cheers