diff options
author | Stefan Agner <stefan@agner.ch> | 2017-08-07 10:31:20 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-08-17 16:53:31 +0800 |
commit | dea632cadd129d1901efde6b1167a6250b2157fb (patch) | |
tree | 669bf9f93a2f3a59bc6d6834188544f0eb557d5b /drivers/crypto | |
parent | 67adc432f424063cb82dfcb56fa883c7d8f7e9e5 (diff) |
lib/mpi: fix build with clang
Use just @ to denote comments which works with gcc and clang.
Otherwise clang reports an escape sequence error:
error: invalid % escape in inline assembly string
Use %0-%3 as operand references, this avoids:
error: invalid operand in inline asm: 'umull ${1:r}, ${0:r}, ${2:r}, ${3:r}'
Also remove superfluous casts on output operands to avoid warnings
such as:
warning: invalid use of a cast in an inline asm context requiring an l-value
Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions