Re: [PATCH] riscv: Always inline bitops
From: patchwork-bot+linux-riscv
Date: Mon Feb 03 2025 - 14:16:08 EST
Hello:
This patch was applied to riscv/linux.git (fixes)
by Yury Norov <yury.norov@xxxxxxxxx>:
On Sat, 23 Nov 2024 19:30:19 -0700 you wrote:
> When building allmodconfig + ThinLTO with certain versions of clang,
> arch_set_bit() may not be inlined, resulting in a modpost warning:
>
> WARNING: modpost: vmlinux: section mismatch in reference: arch_set_bit+0x58 (section: .text.arch_set_bit) -> numa_nodes_parsed (section: .init.data)
>
> acpi_numa_rintc_affinity_init() calls arch_set_bit() via __node_set()
> with numa_nodes_parsed, which is marked as __initdata. If arch_set_bit()
> is not inlined, modpost will flag that it is being called with data that
> will be freed after init.
>
> [...]
Here is the summary with links:
- riscv: Always inline bitops
https://git.kernel.org/riscv/c/f9d2ee3f51d6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html