diff options
author | 2018-02-16 21:22:55 +0100 | |
---|---|---|
committer | 2018-03-26 02:03:57 +0900 | |
commit | 84af7a6194e493fae312a2b7fa5a3b51f76d9282 (patch) | |
tree | bc79978850d383622c75f5beafc7425c4bef4cda /drivers/infiniband/hw | |
parent | checkpatch: kconfig: check help texts for menuconfig and choice (diff) | |
download | linux-84af7a6194e4.tar.gz linux-84af7a6194e4.tar.bz2 linux-84af7a6194e4.zip |
checkpatch: kconfig: prefer 'help' over '---help---'
IMO, we should discourage '---help---' for new help texts, even in cases
where it would be consistent with other help texts in the file. This
will help if we ever want to get rid of '---help---' in the future.
Also simplify the code to only check for exactly '---help---'. Since
commit c2264564df3d ("kconfig: warn of unhandled characters in Kconfig
commands"), '---help---' is a proper keyword and can only appear in that
form. Prior to that commit, '---help---' working was more of a syntactic
quirk.
Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/infiniband/hw')
0 files changed, 0 insertions, 0 deletions