[PATCH] powerpc/40x: Fix assembler warning about r0

Michael Ellerman patch-notifications at ellerman.id.au
Wed Aug 5 10:42:26 AEST 2020


On Wed, 22 Jul 2020 12:24:22 +1000, Michael Ellerman wrote:
> The assembler says:
>   arch/powerpc/kernel/head_40x.S:623: Warning: invalid register expression
> 
> It's objecting to the use of r0 as the RA argument. That's because
> when RA = 0 the literal value 0 is used, rather than the content of
> r0, making the use of r0 in the source potentially confusing.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/40x: Fix assembler warning about r0
      https://git.kernel.org/powerpc/c/8d8a629d00a5283874b81b594f31f8d436dc57d8

cheers


More information about the Linuxppc-dev mailing list