]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kconfig: use sym_get_choice_menu() in sym_check_print_recursive()
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 18 Jun 2024 10:35:27 +0000 (19:35 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 15 Jul 2024 16:08:37 +0000 (01:08 +0900)
commitd8f8bbcf4b94fefbf9e2f0d3a67b7190507afc48
treebbabeb5a56088bc63db989a45f096c75be12a49a
parent8926bc901d617f21d5ebd2eda17aeea55bbecd9a
kconfig: use sym_get_choice_menu() in sym_check_print_recursive()

Choices and their members are associated via the P_CHOICE property.

Currently, prop_get_symbol(sym_get_choice_prop()) is used to obtain
the choice of the given choice member.

Replace it with sym_get_choice_menu(), which retrieves the choice
without relying on P_CHOICE.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/symbol.c