diff options
author | Julien Thierry <julien.thierry@arm.com> | 2019-02-08 09:36:48 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-02-12 11:33:57 +0000 |
commit | a80554fc36ba41d96af8e72fb54cd5d490e06c54 (patch) | |
tree | 6dfa0942ce1cfc1f454bef5555aced46b6d8033d /tools/testing | |
parent | bc3c03ccb4641fb940b27a0d369431876923a8fe (diff) | |
download | linux-a80554fc36ba41d96af8e72fb54cd5d490e06c54.tar.gz |
arm64: irqflags: Fix clang build warnings
Clang complains when passing asm operands that are smaller than the
registers they are mapped to:
arch/arm64/include/asm/irqflags.h:50:10: warning: value size does not
match register size specified by the constraint and modifier
[-Wasm-operand-widths]
: "r" (GIC_PRIO_IRQON)
Fix it by casting the affected input operands to a type of the correct
size.
Reported-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions