[PATCH] riscv: Respect dependencies of ARCH_HAS_ELF_CORE_EFLAGS
Paul Walmsley
pjw at kernel.org
Thu Oct 9 18:41:58 PDT 2025
On Thu, 9 Oct 2025, Thomas Weißschuh wrote:
> This kconfig symbol has dependencies and is only selectable if those
> dependencies are also enabled.
>
> Respect the dependencies.
>
> Fixes the following warning when configuring an 'allnoconfig':
>
> WARNING: unmet direct dependencies detected for ARCH_HAS_ELF_CORE_EFLAGS
> Depends on [n]: BINFMT_ELF [=n] && ELF_CORE [=y]
> Selected by [y]:
> - RISCV [=y]
>
> Fixes: 8c94db0ae97c ("binfmt_elf: preserve original ELF e_flags for core dumps")
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
Thanks Thomas, queued for early v6.18-rc.
- Paul
More information about the linux-riscv
mailing list