[PATCH] ARM: s3c: fix fiq for clang IAS
Krzysztof Kozlowski
krzk at kernel.org
Sat Feb 6 08:12:58 EST 2021
On Thu, Feb 04, 2021 at 05:23:42PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
>
> Building with the clang integrated assembler produces a couple of
> errors for the s3c24xx fiq support:
>
> arch/arm/mach-s3c/irq-s3c24xx-fiq.S:52:2: error: instruction 'subne' can not set flags, but 's' suffix specified
> subnes pc, lr, #4 @@ return, still have work to do
> ^
> arch/arm/mach-s3c/irq-s3c24xx-fiq.S:64:1: error: invalid symbol redefinition
> s3c24xx_spi_fiq_txrx:
> ^
> arch/arm/mach-s3c/irq-s3c24xx-fiq.S:79:2: error: instruction 'subne' can not set flags, but 's' suffix specified
> subnes pc, lr, #4 @@ return, still have work to do
> ^
> arch/arm/mach-s3c/irq-s3c24xx-fiq.S:104:2: error: instruction 'subne' can not set flags, but 's' suffix specified
> subnes pc, lr, #4 @@ return, still have work to do
>
> There are apparently two problems: one with extraneous or duplicate
> labels, and one with old-style opcode mnemonics. Stefan Agner has
> previously fixed other problems like this, but missed this particular
> file.
>
> Fixes: bec0806cfec6 ("spi_s3c24xx: add FIQ pseudo-DMA support")
> Cc: Stefan Agner <stefan at agner.ch>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> ---
> arch/arm/mach-s3c/irq-s3c24xx-fiq.S | 9 +++------
Thanks, applied.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list