[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNAQYwhPSb12QoLD-XDDiahX4_RBFSD17j10o=Hb8xgU2Lg@mail.gmail.com>
Date: Mon, 22 Jan 2018 01:47:08 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Ulf Magnusson <ulfalizer@...il.com>
Cc: Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Sam Ravnborg <sam@...nborg.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 1/2] kconfig: Document 'if' flattening logic
2018-01-14 23:49 GMT+09:00 Ulf Magnusson <ulfalizer@...il.com>:
> 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@...il.com>
> ---
> Changelog
>
> v2:
> I forgot to mention that this code also undoes automatic submenus created below
> promptless symbols.
>
> scripts/kconfig/menu.c | 29 +++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
>
Applied to linux-kbuild/kconfig. Thanks!
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists