[PATCH] net: am79c961a: avoid %? in inline assembly

David Miller davem at davemloft.net
Tue Feb 16 12:10:33 PST 2016


From: Arnd Bergmann <arnd at arndb.de>
Date: Mon,  8 Feb 2016 15:33:42 +0100

> The am79c961a.c driver fails to build with clang because of an
> unusual inline assembly construct:
> 
> drivers/net/ethernet/amd/am79c961a.c:53:7: error: invalid % escape in inline assembly string
>  "str%?h        %1, [%2]        @ NET_RAP\n\t"
> 
> The same change has been done a decade ago in arch/arm as of
> 6a39dd6222dd ("[ARM] 3759/2: Remove uses of %?"), but apparently
> some drivers were missed.
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Applied, thanks.



More information about the linux-arm-kernel mailing list