mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] init/Kconfig: fix unmet direct dependencies
@ 2022-09-28  6:49 Ren Zhijie
  2022-09-28  7:01 ` Sebastian Andrzej Siewior
  2022-09-28  7:12 ` Lukas Bulwahn
  0 siblings, 2 replies; 9+ messages in thread
From: Ren Zhijie @ 2022-09-28  6:49 UTC (permalink / raw)
  To: akpm, ndesaulniers, nathan, vbabka, masahiroy, arnd, bigeasy,
	seanjc, hannes, ojeda, mhiramat, dmitry.torokhov, atomlin, ddiss,
	christophe.leroy, lukas.bulwahn
  Cc: linux-kernel, Ren Zhijie

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]

So add PROC_FS to dependencies to fix this.
Fixes: 3c07bfce92a5 ("proc: make config PROC_CHILDREN depend on PROC_FS")
Signed-off-by: Ren Zhijie <renzhijie2@huawei.com>
---
 init/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/init/Kconfig b/init/Kconfig
index e11307310fc1..fc32b28fe93e 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1273,6 +1273,7 @@ endif # NAMESPACES
 
 config CHECKPOINT_RESTORE
 	bool "Checkpoint/restore support"
+	select PROC_FS
 	select PROC_CHILDREN
 	select KCMP
 	default n
-- 
2.17.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-29  6:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28  6:49 [PATCH -next] init/Kconfig: fix unmet direct dependencies Ren Zhijie
2022-09-28  7:01 ` Sebastian Andrzej Siewior
2022-09-28  7:20   ` Lukas Bulwahn
2022-09-28  7:52     ` Ren Zhijie
2022-09-28  9:14     ` Sebastian Andrzej Siewior
2022-09-28  9:32       ` Arnd Bergmann
2022-09-28 11:43         ` Lukas Bulwahn
2022-09-29  6:48         ` Ren Zhijie
2022-09-28  7:12 ` Lukas Bulwahn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®