selftests: livepatch: add missing fragments to config
Subsystems (2)
PATCH 1/1 selftests: livepatch: add missing fragments to config
When generating config with 'make defconfig kselftest-merge' fragment CONFIG_TEST_LIVEPATCH=m isn't set.
Rework to enable CONFIG_LIVEPATCH and CONFIG_DYNAMIC_DEBUG as well.
--- tools/testing/selftests/livepatch/config | 2 ++ 1 file changed, 2 insertions(+)
tools/testing/selftests/livepatch/config +2 -0
@@ -1 +1,3 @@ +CONFIG_LIVEPATCH=y +CONFIG_DYNAMIC_DEBUG=y CONFIG_TEST_LIVEPATCH=m
Signature · 1 line
2.20.1
Joe Lawrence
maintainerQuoted 16 lines · Anders Roxell
When generating config with 'make defconfig kselftest-merge' fragment
CONFIG_TEST_LIVEPATCH=misn't set.Rework to enable
CONFIG_LIVEPATCHandCONFIG_DYNAMIC_DEBUGas well.Signed-off-by Anders Roxell <[email protected]>--- tools/testing/selftests/livepatch/config | 2 ++ 1 file changed, 2 insertions(+)tools/testing/selftests/livepatch/config +0
-0
tools/testing/selftests/livepatch/config line 3
Quoted 3 lines
tools/testing/selftests/livepatch/config +2
-0@@ -1 +1,3 @@ +CONFIG_LIVEPATCH=y +CONFIG_DYNAMIC_DEBUG=y CONFIG_TEST_LIVEPATCH=m
Cool, I didn't know about that make target when doing commit bae054372aba ("selftests/livepatch: add DYNAMIC_DEBUG config dependency")
How does kselftest-merge verify dependencies?
CONFIG_LIVEPATCH has its own list of configuration dependencies (see kernel/livepatch/Kconfig) but we don't list all of those in this config file. Just curious.
Thanks,
-- Joe