]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
kconfig: Document 'if' flattening logic
authorUlf Magnusson <ulfalizer@gmail.com>
Sun, 14 Jan 2018 14:49:26 +0000 (15:49 +0100)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 21 Jan 2018 16:49:30 +0000 (01:49 +0900)
commit9d1a9e8bc18bea94adfa716073df3ed83fc4e895
treed80aae3634157d080ee24c5031eb0829f2785574
parentd3465af60f4471b7b6201928e709bc137fdbee3e
kconfig: Document 'if' flattening logic

It is not obvious that this might refer to an 'if', making the code
pretty cryptic:

if (menu->list && (!menu->prompt || !menu->prompt->text)) {

Kconfig keeps the 'if' menu nodes even after flattening. Reflect that in
the example to be accurate.

No functional changes. Only comments added.

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