diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-13 19:50:22 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-13 19:57:21 +0300 |
commit | a7f7f6248d9740d710fd6bd190293fe5e16410ac (patch) | |
tree | dc59d36a552f7e25f909f5b2edc83f96c013befa /drivers/net/team | |
parent | e4a42c82e943b97ce124539fcd7a47445b43fa0d (diff) | |
download | linux-a7f7f6248d9740d710fd6bd190293fe5e16410ac.tar.xz |
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 'drivers/net/team')
-rw-r--r-- | drivers/net/team/Kconfig | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/team/Kconfig b/drivers/net/team/Kconfig index 2aa9fd7b57df..4d449845dac7 100644 --- a/drivers/net/team/Kconfig +++ b/drivers/net/team/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only menuconfig NET_TEAM tristate "Ethernet team driver support" - ---help--- + help This allows one to create virtual interfaces that teams together multiple ethernet devices. @@ -18,7 +18,7 @@ if NET_TEAM config NET_TEAM_MODE_BROADCAST tristate "Broadcast mode support" depends on NET_TEAM - ---help--- + help Basic mode where packets are transmitted always by all suitable ports. All added ports are setup to have team's device address. @@ -29,7 +29,7 @@ config NET_TEAM_MODE_BROADCAST config NET_TEAM_MODE_ROUNDROBIN tristate "Round-robin mode support" depends on NET_TEAM - ---help--- + help Basic mode where port used for transmitting packets is selected in round-robin fashion using packet counter. @@ -41,7 +41,7 @@ config NET_TEAM_MODE_ROUNDROBIN config NET_TEAM_MODE_RANDOM tristate "Random mode support" depends on NET_TEAM - ---help--- + help Basic mode where port used for transmitting packets is selected randomly. @@ -53,7 +53,7 @@ config NET_TEAM_MODE_RANDOM config NET_TEAM_MODE_ACTIVEBACKUP tristate "Active-backup mode support" depends on NET_TEAM - ---help--- + help Only one port is active at a time and the rest of ports are used for backup. @@ -66,7 +66,7 @@ config NET_TEAM_MODE_ACTIVEBACKUP config NET_TEAM_MODE_LOADBALANCE tristate "Load-balance mode support" depends on NET_TEAM - ---help--- + help This mode provides load balancing functionality. Tx port selection is done using BPF function set up from userspace (bpf_hash_func option) |