treewide: replace '---help---' in Kconfig files with 'help'
Since commit 84af7a6194
("checkpatch: kconfig: prefer 'help' over
'---help---'"), the number of '---help---' has been gradually
decreasing, but there are still more than 2400 instances.
This commit finishes the conversion. While I touched the lines,
I also fixed the indentation.
There are a variety of indentation styles found.
a) 4 spaces + '---help---'
b) 7 spaces + '---help---'
c) 8 spaces + '---help---'
d) 1 space + 1 tab + '---help---'
e) 1 tab + '---help---' (correct indentation)
f) 1 tab + 1 space + '---help---'
g) 1 tab + 2 spaces + '---help---'
In order to convert all of them to 1 tab + 'help', I ran the
following commend:
$ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Este commit está contenido en:
@@ -1,7 +1,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
config PAGE_EXTENSION
|
||||
bool "Extend memmap on extra space for more information on page"
|
||||
---help---
|
||||
help
|
||||
Extend memmap on extra space for more information on page. This
|
||||
could be used for debugging features that need to insert extra
|
||||
field for every page. This extension enables us to save memory
|
||||
@@ -13,7 +13,7 @@ config DEBUG_PAGEALLOC
|
||||
depends on DEBUG_KERNEL
|
||||
depends on !HIBERNATION || ARCH_SUPPORTS_DEBUG_PAGEALLOC && !PPC && !SPARC
|
||||
select PAGE_POISONING if !ARCH_SUPPORTS_DEBUG_PAGEALLOC
|
||||
---help---
|
||||
help
|
||||
Unmap pages from the kernel linear mapping after free_pages().
|
||||
Depending on runtime enablement, this results in a small or large
|
||||
slowdown, but helps to find certain types of memory corruption.
|
||||
@@ -41,7 +41,7 @@ config DEBUG_PAGEALLOC
|
||||
config DEBUG_PAGEALLOC_ENABLE_DEFAULT
|
||||
bool "Enable debug page memory allocations by default?"
|
||||
depends on DEBUG_PAGEALLOC
|
||||
---help---
|
||||
help
|
||||
Enable debug page memory allocations by default? This value
|
||||
can be overridden by debug_pagealloc=off|on.
|
||||
|
||||
@@ -65,7 +65,7 @@ config PAGE_OWNER
|
||||
config PAGE_POISONING
|
||||
bool "Poison pages after freeing"
|
||||
select PAGE_POISONING_NO_SANITY if HIBERNATION
|
||||
---help---
|
||||
help
|
||||
Fill the pages with poison patterns after free_pages() and verify
|
||||
the patterns before alloc_pages. The filling of the memory helps
|
||||
reduce the risk of information leaks from freed data. This does
|
||||
@@ -80,7 +80,7 @@ config PAGE_POISONING
|
||||
config PAGE_POISONING_NO_SANITY
|
||||
depends on PAGE_POISONING
|
||||
bool "Only poison, don't sanity check"
|
||||
---help---
|
||||
help
|
||||
Skip the sanity checking on alloc, only fill the pages with
|
||||
poison on free. This reduces some of the overhead of the
|
||||
poisoning feature.
|
||||
@@ -91,7 +91,7 @@ config PAGE_POISONING_NO_SANITY
|
||||
config PAGE_POISONING_ZERO
|
||||
bool "Use zero for poisoning instead of debugging value"
|
||||
depends on PAGE_POISONING
|
||||
---help---
|
||||
help
|
||||
Instead of using the existing poison value, fill the pages with
|
||||
zeros. This makes it harder to detect when errors are occurring
|
||||
due to sanitization but the zeroing at free means that it is
|
||||
@@ -104,7 +104,7 @@ config DEBUG_PAGE_REF
|
||||
bool "Enable tracepoint to track down page reference manipulation"
|
||||
depends on DEBUG_KERNEL
|
||||
depends on TRACEPOINTS
|
||||
---help---
|
||||
help
|
||||
This is a feature to add tracepoint for tracking down page reference
|
||||
manipulation. This tracking is useful to diagnose functional failure
|
||||
due to migration failures caused by page reference mismatches. Be
|
||||
@@ -115,7 +115,7 @@ config DEBUG_PAGE_REF
|
||||
config DEBUG_RODATA_TEST
|
||||
bool "Testcase for the marking rodata read-only"
|
||||
depends on STRICT_KERNEL_RWX
|
||||
---help---
|
||||
help
|
||||
This option enables a testcase for the setting rodata read-only.
|
||||
|
||||
config ARCH_HAS_DEBUG_WX
|
||||
|
Referencia en una nueva incidencia
Block a user