net: am79c961a: avoid %? in inline assembly
authorArnd Bergmann <arnd@arndb.de>
Mon, 8 Feb 2016 14:33:42 +0000 (15:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2016 20:06:54 +0000 (15:06 -0500)
commita5a23ad52d1310976891c30471f4ee8d73f3cc9e
tree0aac2978a63e31fcab8f70038e537cd4ab5ce5c4
parentbd59cfc51df7ddc88755a60a1293cee55f5d0a12
net: am79c961a: avoid %? in inline assembly

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@arndb.de>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/am79c961a.c