summaryrefslogtreecommitdiff
path: root/kconfig/symbol.c
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-11-13 05:49:46 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-11-13 05:49:46 (GMT)
commitb9902e788d5e401078af872ab628015da8e8cd44 (patch)
treeb992e80e92fd719bcbe1d5d7b4b0e8d00b7301d7 /kconfig/symbol.c
parent377493fc5dfaa483452497bb00988bf7bf258960 (diff)
parente40f4ee0112e6c9b0a16fb12ebd7bbcabc9b844a (diff)
Merge pull request #252 from bhundven/kconfig-4.4
kconfig: Add updates from linux-4.3 and 4.4
Diffstat (limited to 'kconfig/symbol.c')
-rw-r--r--kconfig/symbol.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kconfig/symbol.c b/kconfig/symbol.c
index 70c5ee1..25cf0c2 100644
--- a/kconfig/symbol.c
+++ b/kconfig/symbol.c
@@ -467,8 +467,7 @@ void sym_clear_all_valid(void)
for_all_symbols(i, sym)
sym->flags &= ~SYMBOL_VALID;
sym_add_change_count(1);
- if (modules_sym)
- sym_calc_value(modules_sym);
+ sym_calc_value(modules_sym);
}
bool sym_tristate_within_range(struct symbol *sym, tristate val)
@@ -1117,6 +1116,8 @@ static void sym_check_print_recursive(struct symbol *last_sym)
if (stack->sym == last_sym)
fprintf(stderr, "%s:%d:error: recursive dependency detected!\n",
prop->file->name, prop->lineno);
+ fprintf(stderr, "For a resolution refer to Documentation/kbuild/kconfig-language.txt\n");
+ fprintf(stderr, "subsection \"Kconfig recursive dependency limitations\"\n");
if (stack->expr) {
fprintf(stderr, "%s:%d:\tsymbol %s %s value contains %s\n",
prop->file->name, prop->lineno,