kconfig: Warn if help text is blank
authorUlf Magnusson <ulfalizer@gmail.com>
Wed, 31 Jan 2018 09:34:30 +0000 (10:34 +0100)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 2 Feb 2018 15:02:19 +0000 (00:02 +0900)
commit1b9eda2e4892cb373c7d4cf23439f357c8739e27
tree814481882c1c1f64b30dec7caef8a256d1824bcb
parente1916031369a60c935c6957a47618d304a9df9de
kconfig: Warn if help text is blank

Blank help texts are probably either a typo, a Kconfig misunderstanding,
or some kind of half-committing to adding a help text (in which case a
TODO comment would be clearer, if the help text really can't be added
right away).

Best to flag them, IMO.

Example warning:

drivers/mmc/host/Kconfig:877: warning: 'MMC_TOSHIBA_PCI' defined with blank help text

Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/zconf.y