Re: linux-next: build warning after merge of the mm tree

From: Johannes Weiner
Date: Thu May 12 2022 - 08:23:29 EST


On Thu, May 12, 2022 at 07:46:07PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the mm tree, today's linux-next build (powerpc allnoconfig,
> powerpc ppc44x_defconfig and arm64 defconfig) produced this warning:
>
> WARNING: unmet direct dependencies detected for ARCH_ENABLE_MEMORY_HOTREMOVE
> Depends on [n]: MEMORY_HOTPLUG [=n]
> Selected by [y]:
> - PPC [=y]
> Building: powerpc64 allnoconfig
>
> WARNING: unmet direct dependencies detected for ARCH_ENABLE_MEMORY_HOTREMOVE
> Depends on [n]: MEMORY_HOTPLUG [=n]
> Selected by [y]:
> - PPC [=y]
>
> WARNING: unmet direct dependencies detected for ARCH_ENABLE_MEMORY_HOTREMOVE
> Depends on [n]: MEMORY_HOTPLUG [=n]
> Selected by [y]:
> - ARM64 [=y]
>
> WARNING: unmet direct dependencies detected for ARCH_ENABLE_MEMORY_HOTREMOVE
> Depends on [n]: MEMORY_HOTPLUG [=n]
> Selected by [y]:
> - ARM64 [=y]
>
> Probably introduced by commit
>
> 52bc69c65c03 ("mm: Kconfig: group swap, slab, hotplug and thp options into submenus")

Sorry about the noise, I must be blind. And x86 does
arch/x86/Kconfig: select ARCH_ENABLE_MEMORY_HOTREMOVE if MEMORY_HOTPLUG
that's why it didn't trigger for me.

This should be the last one, I triple checked the commit.

---