samples: fix coding style issues in Kconfig

Fix some coding style issues in Kconfig: use one tab to indent lines under
a config definition, and use an additional two spaces to indent help text.

Link: https://lkml.kernel.org/r/20250929062434.4114607-1-zhouyuhang1010@163.com
Signed-off-by: Zhou Yuhang <zhouyuhang@kylinos.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
pull/1354/merge
Zhou Yuhang 2025-09-29 14:24:34 +08:00 committed by Andrew Morton
parent e9a6fb0bcd
commit 969493d7d6
1 changed files with 11 additions and 11 deletions

View File

@ -23,11 +23,11 @@ config SAMPLE_TRACE_CUSTOM_EVENTS
This builds the custom trace event example module. This builds the custom trace event example module.
config SAMPLE_TRACE_PRINTK config SAMPLE_TRACE_PRINTK
tristate "Build trace_printk module - tests various trace_printk formats" tristate "Build trace_printk module - tests various trace_printk formats"
depends on EVENT_TRACING && m depends on EVENT_TRACING && m
help help
This builds a module that calls trace_printk() and can be used to This builds a module that calls trace_printk() and can be used to
test various trace_printk() calls from a module. test various trace_printk() calls from a module.
config SAMPLE_FTRACE_DIRECT config SAMPLE_FTRACE_DIRECT
tristate "Build register_ftrace_direct() example" tristate "Build register_ftrace_direct() example"
@ -54,11 +54,11 @@ config SAMPLE_FTRACE_OPS
measures the time taken to invoke one function a number of times. measures the time taken to invoke one function a number of times.
config SAMPLE_TRACE_ARRAY config SAMPLE_TRACE_ARRAY
tristate "Build sample module for kernel access to Ftrace instances" tristate "Build sample module for kernel access to Ftrace instances"
depends on EVENT_TRACING && m depends on EVENT_TRACING && m
help help
This builds a module that demonstrates the use of various APIs to This builds a module that demonstrates the use of various APIs to
access Ftrace instances from within the kernel. access Ftrace instances from within the kernel.
config SAMPLE_KOBJECT config SAMPLE_KOBJECT
tristate "Build kobject examples" tristate "Build kobject examples"
@ -290,11 +290,11 @@ config SAMPLE_CORESIGHT_SYSCFG
configurations and easily load them into the system at runtime. configurations and easily load them into the system at runtime.
config SAMPLE_KMEMLEAK config SAMPLE_KMEMLEAK
tristate "Simple test for the kernel memory leak detector" tristate "Simple test for the kernel memory leak detector"
depends on DEBUG_KMEMLEAK && m depends on DEBUG_KMEMLEAK && m
help help
Build a sample program which have explicitly leaks memory to test Build a sample program which have explicitly leaks memory to test
kmemleak kmemleak.
config SAMPLE_CGROUP config SAMPLE_CGROUP
bool "Build cgroup sample code" bool "Build cgroup sample code"