From: Nicolas Schier <nicolas@fjasle.eu>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] kconfig: link menus to a symbol
Date: Mon, 4 Mar 2024 10:26:36 +0100 [thread overview]
Message-ID: <ZeWTzJK8rX35tRnJ@fjasle.eu> (raw)
In-Reply-To: <20240303040035.3450914-1-masahiroy@kernel.org>
On Sun, Mar 03, 2024 at 01:00:33PM +0900 Masahiro Yamada wrote:
> Currently, there is no direct link from (struct symbol *) to
> (struct menu *).
>
> It is still possible to access associated menus through the P_SYMBOL
> property, because property::menu is the relevant menu entry, but it
> results in complex code, as seen in get_symbol_str().
>
> Use a linked list for simpler traversal of relevant menus.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---
>
> scripts/kconfig/expr.h | 5 +++++
> scripts/kconfig/menu.c | 4 +++-
> scripts/kconfig/symbol.c | 4 ++++
> 3 files changed, 12 insertions(+), 1 deletion(-)
Thanks, the whole series looks good to me.
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
prev parent reply other threads:[~2024-03-04 9:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-03 4:00 [PATCH 1/3] kconfig: link menus to a symbol Masahiro Yamada
2024-03-03 4:00 ` [PATCH 2/3] kconfig: use linked list in get_symbol_str() to iterate over menus Masahiro Yamada
2024-03-04 9:26 ` Nicolas Schier
2024-03-03 4:00 ` [PATCH 3/3] kconfig: remove named choice support Masahiro Yamada
2024-03-04 9:27 ` Nicolas Schier
2024-03-04 9:26 ` Nicolas Schier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZeWTzJK8rX35tRnJ@fjasle.eu \
--to=nicolas@fjasle.eu \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox