diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-14 01:50:22 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-14 01:57:21 +0900 |
commit | a7f7f6248d9740d710fd6bd190293fe5e16410ac (patch) | |
tree | dc59d36a552f7e25f909f5b2edc83f96c013befa /block | |
parent | e4a42c82e943b97ce124539fcd7a47445b43fa0d (diff) | |
download | linux-stable-a7f7f6248d9740d710fd6bd190293fe5e16410ac.tar.gz linux-stable-a7f7f6248d9740d710fd6bd190293fe5e16410ac.tar.bz2 linux-stable-a7f7f6248d9740d710fd6bd190293fe5e16410ac.zip |
treewide: replace '---help---' in Kconfig files with 'help'
Since commit 84af7a6194e4 ("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>
Diffstat (limited to 'block')
-rw-r--r-- | block/Kconfig | 22 | ||||
-rw-r--r-- | block/Kconfig.iosched | 10 | ||||
-rw-r--r-- | block/partitions/Kconfig | 6 |
3 files changed, 19 insertions, 19 deletions
diff --git a/block/Kconfig b/block/Kconfig index 9382a4acefc3..9357d7302398 100644 --- a/block/Kconfig +++ b/block/Kconfig @@ -66,7 +66,7 @@ config BLK_DEV_BSGLIB config BLK_DEV_INTEGRITY bool "Block layer data integrity support" - ---help--- + help Some storage devices allow extra information to be stored/retrieved to help protect the data. The block layer data integrity option provides hooks which can be used by @@ -84,7 +84,7 @@ config BLK_DEV_INTEGRITY_T10 config BLK_DEV_ZONED bool "Zoned block device support" select MQ_IOSCHED_DEADLINE - ---help--- + help Block layer zoned block device support. This option enables support for ZAC/ZBC host-managed and host-aware zoned block devices. @@ -94,7 +94,7 @@ config BLK_DEV_THROTTLING bool "Block layer bio throttling support" depends on BLK_CGROUP=y select BLK_CGROUP_RWSTAT - ---help--- + help Block layer bio throttling support. It can be used to limit the IO rate to a device. IO rate policies are per cgroup and one needs to mount and use blkio cgroup controller for creating @@ -105,7 +105,7 @@ config BLK_DEV_THROTTLING config BLK_DEV_THROTTLING_LOW bool "Block throttling .low limit interface support (EXPERIMENTAL)" depends on BLK_DEV_THROTTLING - ---help--- + help Add .low limit interface for block throttling. The low limit is a best effort limit to prioritize cgroups. Depending on the setting, the limit can be used to protect cgroups in terms of bandwidth/iops and better @@ -115,7 +115,7 @@ config BLK_DEV_THROTTLING_LOW config BLK_CMDLINE_PARSER bool "Block device command line partition parser" - ---help--- + help Enabling this option allows you to specify the partition layout from the kernel boot args. This is typically of use for embedded devices which don't otherwise have any standardized method for listing the @@ -125,7 +125,7 @@ config BLK_CMDLINE_PARSER config BLK_WBT bool "Enable support for block device writeback throttling" - ---help--- + help Enabling this option enables the block layer to throttle buffered background writeback from the VM, making it more smooth and having less impact on foreground operations. The throttling is done @@ -135,7 +135,7 @@ config BLK_WBT config BLK_CGROUP_IOLATENCY bool "Enable support for latency based cgroup IO protection" depends on BLK_CGROUP=y - ---help--- + help Enabling this option enables the .latency interface for IO throttling. The IO controller will attempt to maintain average IO latencies below the configured latency target, throttling anybody with a higher latency @@ -148,7 +148,7 @@ config BLK_CGROUP_IOCOST depends on BLK_CGROUP=y select BLK_RQ_IO_DATA_LEN select BLK_RQ_ALLOC_TIME - ---help--- + help Enabling this option enables the .weight interface for cost model based proportional IO control. The IO controller distributes IO capacity between different groups based on @@ -158,7 +158,7 @@ config BLK_WBT_MQ bool "Multiqueue writeback throttling" default y depends on BLK_WBT - ---help--- + help Enable writeback throttling by default on multiqueue devices. Multiqueue currently doesn't have support for IO scheduling, enabling this option is recommended. @@ -167,7 +167,7 @@ config BLK_DEBUG_FS bool "Block layer debugging information in debugfs" default y depends on DEBUG_FS - ---help--- + help Include block layer debugging information in debugfs. This information is mostly useful for kernel developers, but it doesn't incur any cost at runtime. @@ -181,7 +181,7 @@ config BLK_DEBUG_FS_ZONED config BLK_SED_OPAL bool "Logic for interfacing with Opal enabled SEDs" - ---help--- + help Builds Logic for interfacing with Opal enabled controllers. Enabling this option enables users to setup/unlock/lock Locking ranges for SED devices using the Opal protocol. diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched index 7df14133adc8..2f2158e05a91 100644 --- a/block/Kconfig.iosched +++ b/block/Kconfig.iosched @@ -6,13 +6,13 @@ menu "IO Schedulers" config MQ_IOSCHED_DEADLINE tristate "MQ deadline I/O scheduler" default y - ---help--- + help MQ version of the deadline IO scheduler. config MQ_IOSCHED_KYBER tristate "Kyber I/O scheduler" default y - ---help--- + help The Kyber I/O scheduler is a low-overhead scheduler suitable for multiqueue and other fast devices. Given target latencies for reads and synchronous writes, it will self-tune queue depths to achieve that @@ -20,7 +20,7 @@ config MQ_IOSCHED_KYBER config IOSCHED_BFQ tristate "BFQ I/O scheduler" - ---help--- + help BFQ I/O scheduler for BLK-MQ. BFQ distributes the bandwidth of of the device among all processes according to their weights, regardless of the device parameters and with any workload. It @@ -32,7 +32,7 @@ config BFQ_GROUP_IOSCHED bool "BFQ hierarchical scheduling support" depends on IOSCHED_BFQ && BLK_CGROUP select BLK_CGROUP_RWSTAT - ---help--- + help Enable hierarchical scheduling in BFQ, using the blkio (cgroups-v1) or io (cgroups-v2) controller. @@ -40,7 +40,7 @@ config BFQ_GROUP_IOSCHED config BFQ_CGROUP_DEBUG bool "BFQ IO controller debugging" depends on BFQ_GROUP_IOSCHED - ---help--- + help Enable some debugging help. Currently it exports additional stat files in a cgroup which can be useful for debugging. diff --git a/block/partitions/Kconfig b/block/partitions/Kconfig index 702689a628f0..6e2a649669e5 100644 --- a/block/partitions/Kconfig +++ b/block/partitions/Kconfig @@ -156,7 +156,7 @@ config SOLARIS_X86_PARTITION config UNIXWARE_DISKLABEL bool "Unixware slices support" depends on PARTITION_ADVANCED && MSDOS_PARTITION - ---help--- + help Like some systems, UnixWare uses its own slice table inside a partition (VTOC - Virtual Table of Contents). Its format is incompatible with all other OSes. Saying Y here allows you to read @@ -176,7 +176,7 @@ config UNIXWARE_DISKLABEL config LDM_PARTITION bool "Windows Logical Disk Manager (Dynamic Disk) support" depends on PARTITION_ADVANCED - ---help--- + help Say Y here if you would like to use hard disks under Linux which were partitioned using Windows 2000's/XP's or Vista's Logical Disk Manager. They are also known as "Dynamic Disks". @@ -226,7 +226,7 @@ config ULTRIX_PARTITION config SUN_PARTITION bool "Sun partition tables support" if PARTITION_ADVANCED default y if (SPARC || SUN3 || SUN3X) - ---help--- + help Like most systems, SunOS uses its own hard disk partition table format, incompatible with all others. Saying Y here allows you to read these partition tables and further mount SunOS partitions from |