mbox series

[v2,00/12] kconfig: fix choice value calculation with misc cleanups

Message ID 20240618103541.3508486-1-masahiroy@kernel.org (mailing list archive)
Headers show
Series kconfig: fix choice value calculation with misc cleanups | expand

Message

Masahiro Yamada June 18, 2024, 10:35 a.m. UTC
The main patch for this series is:
  "kconfig: refactor choice value calculation"
This rewrites the handling of user values for choices.

The others are misc cleanups.



Masahiro Yamada (12):
  kconfig: import list_move(_tail) and list_for_each_entry_reverse
    macros
  kconfig: refactor choice value calculation
  kconfig: remove sym_get_choice_value()
  kconfig: remove conf_unsaved in conf_read_simple()
  kconfig: change sym_choice_default() to take the choice menu
  kconfig: use menu_list_for_each_sym() in sym_choice_default()
  kconfig: remove expr_list_for_each_sym() macro
  kconfig: use sym_get_choice_menu() in sym_check_print_recursive()
  kconfig: use sym_get_choice_menu() in sym_check_choice_deps()
  kconfig: use sym_get_choice_menu() in sym_check_deps()
  kconfig: remove P_CHOICE property
  kconfig: remove E_LIST expression type

 scripts/kconfig/conf.c      | 137 +++++++++++-------------
 scripts/kconfig/confdata.c  |  61 +++--------
 scripts/kconfig/expr.c      |  15 ---
 scripts/kconfig/expr.h      |  21 ++--
 scripts/kconfig/gconf.c     |   2 +-
 scripts/kconfig/list.h      |  53 ++++++++++
 scripts/kconfig/lkc.h       |  10 +-
 scripts/kconfig/lkc_proto.h |   1 -
 scripts/kconfig/mconf.c     |   6 +-
 scripts/kconfig/menu.c      |  25 +----
 scripts/kconfig/nconf.c     |   6 +-
 scripts/kconfig/parser.y    |   8 +-
 scripts/kconfig/qconf.cc    |   8 --
 scripts/kconfig/symbol.c    | 206 ++++++++++++++++++++----------------
 14 files changed, 272 insertions(+), 287 deletions(-)