powerpc/iseries: fix constant warning
PATCH 1/1 powerpc/iseries: fix constant warning
Fix smatch warning: constant 0x8000000000000000 is so big it is unsigned long
Signed-off-by Denis Kirjanov <[email protected]>
---arch/powerpc/include/asm/abs_addr.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/include/asm/abs_addr.h +1 -1
@@ -69,7 +69,7 @@ static inline unsigned long phys_to_abs(unsigned long pa)* Legacy iSeries Hypervisor calls */ #define iseries_hv_addr (virtaddr) \ - (0x8000000000000000 | virt_to_abs(virtaddr)) + (0x8000000000000000UL | virt_to_abs(virtaddr))#endif /* __KERNEL__ */ #endif /* _ASM_POWERPC_ABS_ADDR_H */