]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: document Kconfig source file comments
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 23 Jun 2018 03:08:21 +0000 (20:08 -0700)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 25 Jun 2018 14:21:14 +0000 (23:21 +0900)
commitcc380ed31986b9f057593978caedd9110a2972ec
treeeda359d080d00945b822b098d44059becbe5e975
parente94ac44444c18389a9e465e5ac08a2dbfade47a1
kconfig: document Kconfig source file comments

I saw this type of Kconfig construct on LKML:

config SYMBOOL
#bool "prompt string"
default y

and wondered what it does.  Then I wondered if '#' comments are
even documented.  They aren't, so add a little doc for that.

Ah, good.  kconfig says:
arch/x86/Kconfig:2942:warning: config symbol defined without type

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Documentation/kbuild/kconfig-language.txt