Skip to content

Commit a7f7f62

Browse files
committed
treewide: replace '---help---' in Kconfig files with 'help'
Since commit 84af7a6 ("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 <[email protected]>
1 parent e4a42c8 commit a7f7f62

File tree

427 files changed

+2448
-2448
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

427 files changed

+2448
-2448
lines changed

arch/Kconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ config VMAP_STACK
876876
bool "Use a virtually-mapped stack"
877877
depends on HAVE_ARCH_VMAP_STACK
878878
depends on !KASAN || KASAN_VMALLOC
879-
---help---
879+
help
880880
Enable this if you want the use virtually-mapped kernel stacks
881881
with guard pages. This causes kernel stack overflows to be
882882
caught immediately rather than causing difficult-to-diagnose
@@ -948,7 +948,7 @@ config ARCH_USE_MEMREMAP_PROT
948948
config LOCK_EVENT_COUNTS
949949
bool "Locking event counts collection"
950950
depends on DEBUG_FS
951-
---help---
951+
help
952952
Enable light-weight counting of various locking related events
953953
in the system with minimal performance impact. This reduces
954954
the chance of application behavior change because of timing

arch/alpha/Kconfig

+9-9
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ menu "System setup"
8383
choice
8484
prompt "Alpha system type"
8585
default ALPHA_GENERIC
86-
---help---
86+
help
8787
This is the system type of your hardware. A "generic" kernel will
8888
run on any supported Alpha system. However, if you configure a
8989
kernel for your specific system, it will be faster and smaller.
@@ -480,7 +480,7 @@ config VGA_HOSE
480480
config ALPHA_QEMU
481481
bool "Run under QEMU emulation"
482482
depends on !ALPHA_GENERIC
483-
---help---
483+
help
484484
Assume the presence of special features supported by QEMU PALcode
485485
that reduce the overhead of system emulation.
486486

@@ -495,7 +495,7 @@ config ALPHA_SRM
495495
bool "Use SRM as bootloader" if ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_NAUTILUS || ALPHA_NONAME
496496
depends on TTY
497497
default y if ALPHA_JENSEN || ALPHA_MIKASA || ALPHA_SABLE || ALPHA_LYNX || ALPHA_NORITAKE || ALPHA_DP264 || ALPHA_RAWHIDE || ALPHA_EIGER || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
498-
---help---
498+
help
499499
There are two different types of booting firmware on Alphas: SRM,
500500
which is command line driven, and ARC, which uses menus and arrow
501501
keys. Details about the Linux/Alpha booting process are contained in
@@ -521,7 +521,7 @@ config ARCH_MAY_HAVE_PC_FDC
521521
config SMP
522522
bool "Symmetric multi-processing support"
523523
depends on ALPHA_SABLE || ALPHA_LYNX || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
524-
---help---
524+
help
525525
This enables support for systems with more than one CPU. If you have
526526
a system with only one CPU, say N. If you have a system with more
527527
than one CPU, say Y.
@@ -569,7 +569,7 @@ config ALPHA_WTINT
569569
default n if ALPHA_EV5 || ALPHA_EV56 || (ALPHA_EV4 && !ALPHA_LCA)
570570
default n if !ALPHA_SRM && !ALPHA_GENERIC
571571
default y if SMP
572-
---help---
572+
help
573573
The Wait for Interrupt (WTINT) PALcall attempts to place the CPU
574574
to sleep until the next interrupt. This may reduce the power
575575
consumed, and the heat produced by the computer. However, it has
@@ -595,7 +595,7 @@ config NODES_SHIFT
595595
# LARGE_VMALLOC is racy, if you *really* need it then fix it first
596596
config ALPHA_LARGE_VMALLOC
597597
bool
598-
---help---
598+
help
599599
Process creation and other aspects of virtual memory management can
600600
be streamlined if we restrict the kernel to one PGD for all vmalloc
601601
allocations. This equates to about 8GB.
@@ -614,7 +614,7 @@ config VERBOSE_MCHECK_ON
614614
int "Verbose Printing Mode (0=off, 1=on, 2=all)"
615615
depends on VERBOSE_MCHECK
616616
default 1
617-
---help---
617+
help
618618
This option allows the default printing mode to be set, and then
619619
possibly overridden by a boot command argument.
620620

@@ -633,7 +633,7 @@ choice
633633
default HZ_128 if ALPHA_QEMU
634634
default HZ_1200 if ALPHA_RAWHIDE
635635
default HZ_1024
636-
---help---
636+
help
637637
The frequency at which timer interrupts occur. A high frequency
638638
minimizes latency, whereas a low frequency minimizes overhead of
639639
process accounting. The later effect is especially significant
@@ -668,7 +668,7 @@ config HZ
668668
config SRM_ENV
669669
tristate "SRM environment through procfs"
670670
depends on PROC_FS
671-
---help---
671+
help
672672
If you enable this option, a subdirectory inside /proc called
673673
/proc/srm_environment will give you access to the all important
674674
SRM environment variables (those which have a name) and also

arch/alpha/Kconfig.debug

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ config ALPHA_LEGACY_START_ADDRESS
99
bool "Legacy kernel start address"
1010
depends on ALPHA_GENERIC
1111
default n
12-
---help---
12+
help
1313
The 2.4 kernel changed the kernel start address from 0x310000
1414
to 0x810000 to make room for the Wildfire's larger SRM console.
1515
Recent consoles on Titan and Marvel machines also require the

arch/arc/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ config NODES_SHIFT
348348
default "0" if !DISCONTIGMEM
349349
default "1" if DISCONTIGMEM
350350
depends on NEED_MULTIPLE_NODES
351-
---help---
351+
help
352352
Accessing memory beyond 1GB (with or w/o PAE) requires 2 memory
353353
zones.
354354

arch/arm/Kconfig

+4-4
Original file line numberDiff line numberDiff line change
@@ -1655,7 +1655,7 @@ config UACCESS_WITH_MEMCPY
16551655
config SECCOMP
16561656
bool
16571657
prompt "Enable seccomp to safely compute untrusted bytecode"
1658-
---help---
1658+
help
16591659
This kernel feature is useful for number crunching applications
16601660
that may need to compute untrusted bytecode during their
16611661
execution. By using pipes or other transports made available to
@@ -1963,7 +1963,7 @@ config EFI
19631963
select EFI_STUB
19641964
select EFI_GENERIC_STUB
19651965
select EFI_RUNTIME_WRAPPERS
1966-
---help---
1966+
help
19671967
This option provides support for runtime services provided
19681968
by UEFI firmware (such as non-volatile variables, realtime
19691969
clock, and platform reset). A UEFI stub is also provided to
@@ -2005,7 +2005,7 @@ comment "At least one emulation must be selected"
20052005
config FPE_NWFPE
20062006
bool "NWFPE math emulation"
20072007
depends on (!AEABI || OABI_COMPAT) && !THUMB2_KERNEL
2008-
---help---
2008+
help
20092009
Say Y to include the NWFPE floating point emulator in the kernel.
20102010
This is necessary to run most binaries. Linux does not currently
20112011
support floating point hardware so you need to say Y here even if
@@ -2029,7 +2029,7 @@ config FPE_NWFPE_XP
20292029
config FPE_FASTFPE
20302030
bool "FastFPE math emulation (EXPERIMENTAL)"
20312031
depends on (!AEABI || OABI_COMPAT) && !CPU_32v3
2032-
---help---
2032+
help
20332033
Say Y here to include the FAST floating point emulator in the kernel.
20342034
This is an experimental much faster emulator which now also has full
20352035
precision for the mantissa. It does not support any exceptions.

arch/arm/Kconfig.debug

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ config ARM_PTDUMP_DEBUGFS
99
depends on MMU
1010
select ARM_PTDUMP_CORE
1111
select DEBUG_FS
12-
---help---
12+
help
1313
Say Y here if you want to show the kernel pagetable layout in a
1414
debugfs file. This information is only useful for kernel developers
1515
who are working in architecture specific areas of the kernel.
@@ -21,7 +21,7 @@ config DEBUG_WX
2121
bool "Warn on W+X mappings at boot"
2222
depends on MMU
2323
select ARM_PTDUMP_CORE
24-
---help---
24+
help
2525
Generate a warning if any W+X mappings are found at boot.
2626

2727
This is useful for discovering cases where the kernel is leaving

arch/arm/mach-footbridge/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ config ARCH_PERSONAL_SERVER
2222
select ISA
2323
select ISA_DMA
2424
select FORCE_PCI
25-
---help---
25+
help
2626
Say Y here if you intend to run this kernel on the Compaq
2727
Personal Server.
2828

arch/arm64/Kconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ config CC_HAVE_SHADOW_CALL_STACK
10351035

10361036
config SECCOMP
10371037
bool "Enable seccomp to safely compute untrusted bytecode"
1038-
---help---
1038+
help
10391039
This kernel feature is useful for number crunching applications
10401040
that may need to compute untrusted bytecode during their
10411041
execution. By using pipes or other transports made available to
@@ -1068,7 +1068,7 @@ config KEXEC
10681068
depends on PM_SLEEP_SMP
10691069
select KEXEC_CORE
10701070
bool "kexec system call"
1071-
---help---
1071+
help
10721072
kexec is a system call that implements the ability to shutdown your
10731073
current kernel, and to start another kernel. It is like a reboot
10741074
but it is independent of the system firmware. And like a reboot

arch/arm64/kvm/Kconfig

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ source "virt/lib/Kconfig"
77

88
menuconfig VIRTUALIZATION
99
bool "Virtualization"
10-
---help---
10+
help
1111
Say Y here to get to see options for using your Linux host to run
1212
other operating systems inside virtual machines (guests).
1313
This option alone does not add any kernel code.
@@ -40,7 +40,7 @@ menuconfig KVM
4040
select HAVE_KVM_VCPU_RUN_PID_CHANGE
4141
select TASKSTATS
4242
select TASK_DELAY_ACCT
43-
---help---
43+
help
4444
Support hosting virtualized guest machines.
4545

4646
If unsure, say N.
@@ -53,7 +53,7 @@ config KVM_ARM_PMU
5353
bool "Virtual Performance Monitoring Unit (PMU) support"
5454
depends on HW_PERF_EVENTS
5555
default y
56-
---help---
56+
help
5757
Adds support for a virtual Performance Monitoring Unit (PMU) in
5858
virtual machines.
5959

arch/hexagon/Kconfig

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ config HEXAGON
3131
select GENERIC_CLOCKEVENTS_BROADCAST
3232
select MODULES_USE_ELF_RELA
3333
select GENERIC_CPU_DEVICES
34-
---help---
34+
help
3535
Qualcomm Hexagon is a processor architecture designed for high
3636
performance and low power across a wide variety of applications.
3737

3838
config HEXAGON_PHYS_OFFSET
3939
def_bool y
40-
---help---
40+
help
4141
Platforms that don't load the kernel at zero set this.
4242

4343
config FRAME_POINTER
@@ -83,7 +83,7 @@ choice
8383

8484
config HEXAGON_COMET
8585
bool "Comet Board"
86-
---help---
86+
help
8787
Support for the Comet platform.
8888

8989
endchoice
@@ -104,15 +104,15 @@ config CMDLINE
104104

105105
config SMP
106106
bool "Multi-Processing support"
107-
---help---
107+
help
108108
Enables SMP support in the kernel. If unsure, say "Y"
109109

110110
config NR_CPUS
111111
int "Maximum number of CPUs" if SMP
112112
range 2 6 if SMP
113113
default "1" if !SMP
114114
default "6" if SMP
115-
---help---
115+
help
116116
This allows you to specify the maximum number of CPUs which this
117117
kernel will support. The maximum supported value is 6 and the
118118
minimum value which makes sense is 2.
@@ -123,7 +123,7 @@ config NR_CPUS
123123
choice
124124
prompt "Kernel page size"
125125
default PAGE_SIZE_4KB
126-
---help---
126+
help
127127
Changes the default page size; use with caution.
128128

129129
config PAGE_SIZE_4KB

arch/ia64/Kconfig

+3-3
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ config HOTPLUG_CPU
243243
bool "Support for hot-pluggable CPUs"
244244
depends on SMP
245245
default n
246-
---help---
246+
help
247247
Say Y here to experiment with turning CPUs off and on. CPUs
248248
can be controlled through /sys/devices/system/cpu/cpu#.
249249
Say N if you want to disable CPU hotplug.
@@ -266,15 +266,15 @@ config PERMIT_BSP_REMOVE
266266
bool "Support removal of Bootstrap Processor"
267267
depends on HOTPLUG_CPU
268268
default n
269-
---help---
269+
help
270270
Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
271271
support.
272272

273273
config FORCE_CPEI_RETARGET
274274
bool "Force assumption that CPEI can be re-targeted"
275275
depends on PERMIT_BSP_REMOVE
276276
default n
277-
---help---
277+
help
278278
Say Y if you need to force the assumption that CPEI can be re-targeted to
279279
any cpu in the system. This hint is available via ACPI 3.0 specifications.
280280
Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.

arch/m68k/Kconfig.cpu

+3-3
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ config M68KFPU_EMU_ONLY
343343
config ADVANCED
344344
bool "Advanced configuration options"
345345
depends on MMU
346-
---help---
346+
help
347347
This gives you access to some advanced options for the CPU. The
348348
defaults should be fine for most users, but these options may make
349349
it possible for you to improve performance somewhat if you know what
@@ -358,7 +358,7 @@ config ADVANCED
358358
config RMW_INSNS
359359
bool "Use read-modify-write instructions"
360360
depends on ADVANCED
361-
---help---
361+
help
362362
This allows to use certain instructions that work with indivisible
363363
read-modify-write bus cycles. While this is faster than the
364364
workaround of disabling interrupts, it can conflict with DMA
@@ -386,7 +386,7 @@ config ARCH_DISCONTIGMEM_ENABLE
386386
config 060_WRITETHROUGH
387387
bool "Use write-through caching for 68060 supervisor accesses"
388388
depends on ADVANCED && M68060
389-
---help---
389+
help
390390
The 68060 generally uses copyback caching of recently accessed data.
391391
Copyback caching means that memory writes will be held in an on-chip
392392
cache and only written back to memory some time later. Saying Y

arch/m68k/Kconfig.devices

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ config NFETH
5959
config ATARI_ETHERNAT
6060
bool "Atari EtherNAT Ethernet support"
6161
depends on ATARI
62-
---help---
62+
help
6363
Say Y to include support for the EtherNAT network adapter for the
6464
CT/60 extension port.
6565

@@ -69,7 +69,7 @@ config ATARI_ETHERNAT
6969
config ATARI_ETHERNEC
7070
bool "Atari EtherNEC Ethernet support"
7171
depends on ATARI_ROM_ISA
72-
---help---
72+
help
7373
Say Y to include support for the EtherNEC network adapter for the
7474
ROM port. The driver works by polling instead of interrupts, so it
7575
is quite slow.
@@ -120,7 +120,7 @@ config HPAPCI
120120
config SERIAL_CONSOLE
121121
bool "Support for serial port console"
122122
depends on AMIGA_BUILTIN_SERIAL=y
123-
---help---
123+
help
124124
If you say Y here, it will be possible to use a serial port as the
125125
system console (the system console is the device which receives all
126126
kernel messages and warnings and which allows logins in single user

arch/m68k/Kconfig.machine

+1-1
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ config ROMSIZE
437437

438438
choice
439439
prompt "Kernel executes from"
440-
---help---
440+
help
441441
Choose the memory type that the kernel will be running in.
442442

443443
config RAMKERNEL

arch/mips/Kconfig

+3-3
Original file line numberDiff line numberDiff line change
@@ -2741,7 +2741,7 @@ config RELOCATION_TABLE_SIZE
27412741
depends on RELOCATABLE
27422742
range 0x0 0x01000000
27432743
default "0x00100000"
2744-
---help---
2744+
help
27452745
A table of relocation data will be appended to the kernel binary
27462746
and parsed at boot to fix up the relocated kernel.
27472747

@@ -2755,7 +2755,7 @@ config RELOCATION_TABLE_SIZE
27552755
config RANDOMIZE_BASE
27562756
bool "Randomize the address of the kernel image"
27572757
depends on RELOCATABLE
2758-
---help---
2758+
help
27592759
Randomizes the physical and virtual address at which the
27602760
kernel image is loaded, as a security feature that
27612761
deters exploit attempts relying on knowledge of the location
@@ -2773,7 +2773,7 @@ config RANDOMIZE_BASE_MAX_OFFSET
27732773
range 0x0 0x40000000 if EVA || 64BIT
27742774
range 0x0 0x08000000
27752775
default "0x01000000"
2776-
---help---
2776+
help
27772777
When kASLR is active, this provides the maximum offset that will
27782778
be applied to the kernel image. It should be set according to the
27792779
amount of physical RAM available in the target system minus

0 commit comments

Comments
 (0)