diff options
| author | Ulf Magnusson <[email protected]> | 2018-02-16 20:22:55 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2018-03-25 17:03:57 +0000 |
| commit | 84af7a6194e493fae312a2b7fa5a3b51f76d9282 (patch) | |
| tree | bc79978850d383622c75f5beafc7425c4bef4cda /scripts/kconfig/expr.c | |
| parent | checkpatch: kconfig: check help texts for menuconfig and choice (diff) | |
| download | kernel-84af7a6194e493fae312a2b7fa5a3b51f76d9282.tar.gz kernel-84af7a6194e493fae312a2b7fa5a3b51f76d9282.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 <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/kconfig/expr.c')
0 files changed, 0 insertions, 0 deletions
