diff mbox

kconfig: recalc symbol value before showing search results

Message ID 4BA3206B.9020405@cn.fujitsu.com (mailing list archive)
State New, archived
Headers show

Commit Message

Li Zefan March 19, 2010, 6:57 a.m. UTC
None
diff mbox

Patch

diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c
index 6c8fbbb..dfef8d1 100644
--- a/scripts/kconfig/symbol.c
+++ b/scripts/kconfig/symbol.c
@@ -750,6 +750,7 @@  struct symbol **sym_re_search(const char *pattern)
 				return NULL;
 			}
 		}
+		sym_calc_value(sym);
 		sym_arr[cnt++] = sym;
 	}
 	if (sym_arr)