Skip to contentSkip to conversation

init-kconfig-fix-unmet-direct-dependencies.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Oct 12, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: init/Kconfig: fix unmet direct dependencies
has been removed from the -mm tree. Its filename was
init-kconfig-fix-unmet-direct-dependencies.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Ren Zhijie <[email protected]>
Subject: init/Kconfig: fix unmet direct dependencies
Date: Thu, 29 Sep 2022 07:00:57 +0000

Commit 3c07bfce92a5 ("proc: make config PROC_CHILDREN depend on PROC_FS") make config PROC_CHILDREN depend on PROC_FS.

When CONFIG_PROC_FS is not set and CONFIG_CHECKPOINT_RESTORE=y, make menuconfig screams like this:

WARNING: unmet direct dependencies detected for PROC_CHILDREN
Depends on [n]: PROC_FS [=n]
Selected by [y]:
- CHECKPOINT_RESTORE [=y]

CHECKPOINT_RESTORE would select PROC_CHILDREN which depends on PROC_FS, so add depends on PROC_FS to CHECKPOINT_RESTORE to fix this.

Fixes 3c07bfce92a5 ("proc: make config PROC_CHILDREN depend on PROC_FS")

---

 init/Kconfig |    1 +
 1 file changed, 1 insertion(+)
init/Kconfig renamed from init/Kconfig~init-kconfig-fix-unmet-direct-dependencies +1 -0
@@ -1261,6 +1261,7 @@ endif # NAMESPACES
 
 config CHECKPOINT_RESTORE
 	bool "Checkpoint/restore support"
+	depends on PROC_FS
 	select PROC_CHILDREN
 	select KCMP
 	default n

_

Patches currently in -mm which might be from [email protected] are