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

From: David Miller
Date: Tue Feb 16 2016 - 15:10:39 EST


From: Arnd Bergmann <arnd@xxxxxxxx>
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@xxxxxxxx>

Applied, thanks.