Re: [PATCH] powerpc/32s: Fix assembler warning about r0

2020-09-09 Thread Michael Ellerman
On Thu, 6 Aug 2020 06:01:42 + (UTC), Christophe Leroy wrote: > The assembler says: > arch/powerpc/kernel/head_32.S:1095: 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 cont

[PATCH] powerpc/32s: Fix assembler warning about r0

2020-08-05 Thread Christophe Leroy
The assembler says: arch/powerpc/kernel/head_32.S:1095: 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. Fix i