]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
checkpatch: kconfig: recognize more prompts when checking help texts
authorUlf Magnusson <ulfalizer@gmail.com>
Fri, 16 Feb 2018 20:22:53 +0000 (21:22 +0100)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 25 Mar 2018 17:03:56 +0000 (02:03 +0900)
commit86adf1a07e896f19a799abe65e3f4a1a26ac142e
tree1b7fd8e4bfbb1431922dde2aa5f33f25ebf4da5c
parent0c8efd610b58cb23cefdfa12015799079aef94ae
checkpatch: kconfig: recognize more prompts when checking help texts

The check for a missing or short help text only considers symbols with a
prompt, but doesn't recognize any of the following as a prompt:

bool 'foo'
tristate 'foo'
prompt "foo"
prompt 'foo'

Make the check recognize those too.

Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/checkpatch.pl