kernel_optimize_test/arch
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
..
alpha
arc
arm ARM: dts: rockchip: fix a typo on rk3288 crypto-controller 2022-03-19 13:44:44 +01:00
arm64 arm64: fix clang warning about TRAMP_VALIAS 2022-03-23 09:13:28 +01:00
c6x
csky perf: Protect perf_guest_cbs with RCU 2022-01-20 09:17:50 +01:00
h8300
hexagon
ia64 ia64: ensure proper NUMA distance and possible map initialization 2022-03-08 19:09:34 +01:00
m68k
microblaze
mips MIPS: smp: fill in sibling and core maps earlier 2022-03-19 13:44:44 +01:00
nds32 perf: Protect perf_guest_cbs with RCU 2022-01-20 09:17:50 +01:00
nios2
openrisc openrisc: Add clone3 ABI wrapper 2022-01-27 10:54:06 +01:00
parisc parisc/unaligned: Fix ldw() and stw() unalignment handlers 2022-03-02 11:42:46 +01:00
powerpc powerpc/lib/sstep: fix 'ptesync' build error 2022-02-23 12:01:03 +01:00
riscv riscv: Fix auipc+jalr relocation range checks 2022-03-16 14:16:01 +01:00
s390 s390/extable: fix exception table sorting 2022-03-08 19:09:36 +01:00
sh
sparc
um um: registers: Rename function names to avoid conflicts and build problems 2022-01-27 10:54:18 +01:00
x86 x86/traps: Mark do_int3() NOKPROBE_SYMBOL 2022-03-16 14:16:03 +01:00
xtensa
.gitignore
Kconfig