diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-03-23 14:19:42 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2021-04-01 16:32:38 +0200 |
commit | a2fa9e57a68cd108777ded8f0443483a5fa179ed (patch) | |
tree | 1805bf750913447580a50046e9cdd8697dd51963 /arch/arm | |
parent | 230ea4c761fc1a8da36044ec358e20b71441efee (diff) |
ARM: mvebu: avoid clang -Wtautological-constant warning
Clang warns about the comparison when using a 32-bit phys_addr_t:
drivers/bus/mvebu-mbus.c:621:17: error: result of comparison of constant 4294967296 with expression of type 'phys_addr_t' (aka 'unsigned int') is always false [-Werror,-Wtautological-constant-out-of-range-compare]
if (reg_start >= 0x100000000ULL)
Add a cast to shut up the warning.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20210323131952.2835509-1-arnd@kernel.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions