Re: [PATCH] arm64: make atomic helpers __always_inline
From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2021-01-13 16:07:44
Also in:
linux-arm-kernel, lkml
From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2021-01-13 16:07:44
Also in:
linux-arm-kernel, lkml
On Fri, 8 Jan 2021 10:19:56 +0100, Arnd Bergmann wrote:
With UBSAN enabled and building with clang, there are occasionally warnings like WARNING: modpost: vmlinux.o(.text+0xc533ec): Section mismatch in reference from the function arch_atomic64_or() to the variable .init.data:numa_nodes_parsed The function arch_atomic64_or() references the variable __initdata numa_nodes_parsed. This is often because arch_atomic64_or lacks a __initdata annotation or the annotation of numa_nodes_parsed is wrong. [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: make atomic helpers __always_inline
https://git.kernel.org/arm64/c/c35a824c3183
--
Catalin