Re: [PATCH 2/3] kconfig: use linked list in get_symbol_str() to iterate over menus

From: Nicolas Schier
Date: Mon Mar 04 2024 - 04:30:31 EST


On Sun, Mar 03, 2024 at 01:00:34PM +0900 Masahiro Yamada wrote:
> Currently, get_symbol_str() uses a tricky approach to traverse the
> associated menus.
>
> With relevant menus now linked to the symbol using a linked list,
> use list_for_each_entry() for iterating on the menus.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
>
> scripts/kconfig/menu.c | 17 +++++++++--------
> 1 file changed, 9 insertions(+), 8 deletions(-)
>

Reviewed-by: Nicolas Schier <nicolas@xxxxxxxxx>