The patch titled kconfig: recalculate symbol value before showing search results has been added to the -mm tree. Its filename is kconfig-recalculate-symbol-value-before-showing-search-results.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: kconfig: recalculate symbol value before showing search results From: Li Zefan <lizf@xxxxxxxxxxxxxx> A symbol's value won't be recalculated until we save the config file or enter the menu where the symbol sits. So If I enable OPTIMIZE_FOR_SIZE, and search FUNCTION_GRAPH_TRACER: Symbol: FUNCTION_GRAPH_TRACER [=y] Prompt: Kernel Function Graph Tracer Defined at kernel/trace/Kconfig:140 Depends on: ... [=y] && (!X86_32 [=y] || !CC_OPTIMIZE_FOR_SIZE [=y]) ... Via the dependency it should result in FUNCTION_GRAPH_TRACER=n, but it still shows FUNCTION_GRAPH_TRACER=y. Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx> Cc: Michal Marek <mmarek@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- scripts/kconfig/symbol.c | 1 + 1 file changed, 1 insertion(+) diff -puN scripts/kconfig/symbol.c~kconfig-recalculate-symbol-value-before-showing-search-results scripts/kconfig/symbol.c --- a/scripts/kconfig/symbol.c~kconfig-recalculate-symbol-value-before-showing-search-results +++ a/scripts/kconfig/symbol.c @@ -755,6 +755,7 @@ struct symbol **sym_re_search(const char return NULL; } } + sym_calc_value(sym); sym_arr[cnt++] = sym; } if (sym_arr) _ Patches currently in -mm which might be from lizf@xxxxxxxxxxxxxx are cgroups-remove-duplicate-include.patch linux-next.patch cpuset-fix-the-problem-that-cpuset_mem_spread_node-returns-an-offline-node.patch cpuset-alloc-nodemask_t-on-the-heap-rather-than-the-stack.patch kconfig-recalculate-symbol-value-before-showing-search-results.patch cgroups-net_cls-as-module.patch sunrpc-cache-fix-module-refcnt-leak-in-a-failure-path.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html