]> git.baikalelectronics.ru Git - kernel.git/commit
init/Kconfig: fix unmet direct dependencies
authorRen Zhijie <renzhijie2@huawei.com>
Thu, 29 Sep 2022 07:00:57 +0000 (07:00 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 12 Oct 2022 01:51:10 +0000 (18:51 -0700)
commitebdbd7d166ce15acd0815c27b6368bc9c875b9fd
treebebef3c44937b0e780238ae06b9020d08a4dd675
parent129713331e44557c524311e3c1908ca5e9181941
init/Kconfig: fix unmet direct dependencies

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.

Link: https://lkml.kernel.org/r/20220929070057.59044-1-renzhijie2@huawei.com
Fixes: 3c07bfce92a5 ("proc: make config PROC_CHILDREN depend on PROC_FS")
Signed-off-by: Ren Zhijie <renzhijie2@huawei.com>
Reviewed-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
init/Kconfig