kernel_optimize_test/arch/arm64
Arnd Bergmann 2c010c61e6 arm64: fix clang warning about TRAMP_VALIAS
[ Upstream commit 7f34b43e07cb512b28543fdcb9f35d1fbfda9ebc ]

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: bd09128d16fa ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-03-23 09:13:28 +01:00
..
boot arm64: dts: agilex: use the compatible "intel,socfpga-agilex-hsotg" 2022-03-19 13:44:43 +01:00
configs arm64: defconfig: Build in CONFIG_GPIO_MXC by default 2020-10-26 15:48:58 +08:00
crypto crypto: poly1305 - fix poly1305_core_setkey() declaration 2021-05-14 09:50:13 +02:00
include arm64: fix clang warning about TRAMP_VALIAS 2022-03-23 09:13:28 +01:00
kernel arm64: proton-pack: Include unprivileged eBPF status in Spectre v2 mitigation reporting 2022-03-11 12:11:53 +01:00
kvm arm64: kvm: Fix copy-and-paste error in bhb templates for v5.10 stable 2022-03-19 13:44:46 +01:00
lib arm64: clear_page() shouldn't use DC ZVA when DCZID_EL0.DZP == 1 2022-01-27 10:53:54 +01:00
mm arm64: entry: Allow the trampoline text to occupy multiple pages 2022-03-11 12:11:52 +01:00
net bpf: Define bpf_jit_alloc_exec_limit for arm64 JIT 2021-11-18 14:03:42 +01:00
xen
Kbuild
Kconfig arm64: Mitigate spectre style branch history side channels 2022-03-11 12:11:53 +01:00
Kconfig.debug
Kconfig.platforms arm64: berlin: Select DW_APB_TIMER_OF 2020-10-26 10:45:03 +01:00
Makefile arm64: link with -z norelro for LLD or aarch64-elf 2021-01-12 20:18:24 +01:00