Skip to content

kconfig: fix choice value calculation with misc cleanups

Masahiro Yamada linux-kbuild lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 3 repliesIn review
  2. v116 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12kconfig: import list_move(_tail) and list_for_each_entry_reverse macrosscripts/kconfig/list.h+53 -00 replies
2/12kconfig: refactor choice value calculationscripts/kconfig/conf.c scripts/kconfig/confdata.c scripts/kconfig/expr.h +4 more+187 -1973 replies
3/12kconfig: remove sym_get_choice_value()scripts/kconfig/conf.c scripts/kconfig/gconf.c scripts/kconfig/lkc.h +3 more+11 -210 replies
4/12kconfig: remove conf_unsaved in conf_read_simple()scripts/kconfig/confdata.c+2 -30 replies
5/12kconfig: change sym_choice_default() to take the choice menuscripts/kconfig/confdata.c scripts/kconfig/lkc.h scripts/kconfig/symbol.c+6 -60 replies
6/12kconfig: use menu_list_for_each_sym() in sym_choice_default()scripts/kconfig/symbol.c+4 -50 replies
7/12kconfig: remove expr_list_for_each_sym() macroscripts/kconfig/expr.h+0 -30 replies
8/12kconfig: use sym_get_choice_menu() in sym_check_print_recursive()scripts/kconfig/symbol.c+4 -20 replies
9/12kconfig: use sym_get_choice_menu() in sym_check_choice_deps()scripts/kconfig/symbol.c+7 -30 replies
10/12kconfig: use sym_get_choice_menu() in sym_check_deps()scripts/kconfig/symbol.c+4 -40 replies
11/12kconfig: remove P_CHOICE propertyscripts/kconfig/expr.h scripts/kconfig/lkc_proto.h scripts/kconfig/menu.c +3 more+3 -360 replies
12/12kconfig: remove E_LIST expression typescripts/kconfig/expr.c scripts/kconfig/expr.h scripts/kconfig/symbol.c+2 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/12] kconfig: fix choice value calculation with misc cleanups

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(-)
Signature · 1 line
2.43.0