]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
kunit: config: KUNIT_DEBUGFS should depend on DEBUG_FS
authorDavid Gow <david@davidgow.net>
Sat, 25 Apr 2026 03:41:54 +0000 (11:41 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 4 May 2026 18:10:40 +0000 (12:10 -0600)
CONFIG_KUNIT_DEBUGFS is totally useless without debugfs, so it should
depend on CONFIG_DEBUG_FS.

Link: https://lore.kernel.org/r/20260425034155.53913-2-david@davidgow.net
Fixes: e2219db280e3 ("kunit: add debugfs /sys/kernel/debug/kunit/<suite>/results display")
Signed-off-by: David Gow <david@davidgow.net>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
lib/kunit/Kconfig

index f80ca3aeedb05d9f4d2e45999ac55d2a1cd62249..94ff8e4089bfbd2f3fbcffd230a45b1e221aacf3 100644 (file)
@@ -17,6 +17,7 @@ if KUNIT
 
 config KUNIT_DEBUGFS
        bool "KUnit - Enable /sys/kernel/debug/kunit debugfs representation"
+       depends on DEBUG_FS
        default y
        help
          Enable debugfs representation for kunit.  Currently this consists