Files
linux/arch/arm64/include/asm
Arnd Bergmann 7f34b43e07 arm64: fix clang warning about TRAMP_VALIAS
The newly introduced TRAMP_VALIAS definition causes a build warning
with clang-14:

arch/arm64/include/asm/vectors.h:66:31: error: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Werror,-Wnull-pointer-arithmetic]
                return (char *)TRAMP_VALIAS + SZ_2K * slot;

Change the addition to something clang does not complain about.

Fixes: bd09128d16 ("arm64: Add percpu vectors for EL1")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: James Morse <james.morse@arm.com>
Link: https://lore.kernel.org/r/20220316183833.1563139-1-arnd@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2022-03-18 13:48:28 +00:00
..
2020-09-07 15:00:52 +01:00
2021-09-08 15:32:35 -07:00
2021-12-13 18:53:00 +00:00
2020-12-02 19:49:11 +00:00
2021-10-21 10:45:22 +01:00
2021-03-24 20:19:30 +00:00
2021-10-01 13:31:00 +01:00
2021-10-07 09:30:24 +01:00
2020-09-11 16:33:43 +01:00
2021-10-01 14:54:45 +01:00
2020-07-24 13:15:20 +01:00
2021-09-29 16:54:33 +01:00