diff options
author | Sai Prakash Ranjan <[email protected]> | 2022-05-18 22:14:12 +0530 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2022-06-15 17:41:11 +0200 |
commit | 443685992bda9bb4f8b17fc02c9f6c60e62b1461 (patch) | |
tree | ece9a353fe419c16673d4aa70da655620cd05233 /lib/memory-notifier-error-inject.c | |
parent | 018b741ea2a6f9138314c9b7333a2a3971006907 (diff) |
irqchip/tegra: Fix overflow implicit truncation warnings
Fix -Woverflow warnings for tegra irqchip driver which is a result
of moving arm64 custom MMIO accessor macros to asm-generic function
implementations giving a bonus type-checking now and uncovering these
overflow warnings.
drivers/irqchip/irq-tegra.c: In function ‘tegra_ictlr_suspend’:
drivers/irqchip/irq-tegra.c:151:18: warning: large integer implicitly truncated to unsigned type [-Woverflow]
writel_relaxed(~0ul, ictlr + ICTLR_COP_IER_CLR);
^
Suggested-by: Marc Zyngier <[email protected]>
Signed-off-by: Sai Prakash Ranjan <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Cc: Marc Zyngier <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions