Commit 71ebc01d authored by Michal Marek's avatar Michal Marek

kconfig: Temporarily disable dependency warnings

After fixing a use-after-free bug in kconfig, a 'make defconfig' or
'make allmodconfig' fills the screen with warnings that were not
detected before. Given that we are close to the release now, disable the
warnings temporarily and deal with them after 2.6.36.
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent ff5ff606
...@@ -350,6 +350,7 @@ void sym_calc_value(struct symbol *sym) ...@@ -350,6 +350,7 @@ void sym_calc_value(struct symbol *sym)
} }
} }
calc_newval: calc_newval:
#if 0
if (sym->dir_dep.tri == no && sym->rev_dep.tri != no) { if (sym->dir_dep.tri == no && sym->rev_dep.tri != no) {
fprintf(stderr, "warning: ("); fprintf(stderr, "warning: (");
expr_fprint(sym->rev_dep.expr, stderr); expr_fprint(sym->rev_dep.expr, stderr);
...@@ -358,6 +359,7 @@ void sym_calc_value(struct symbol *sym) ...@@ -358,6 +359,7 @@ void sym_calc_value(struct symbol *sym)
expr_fprint(sym->dir_dep.expr, stderr); expr_fprint(sym->dir_dep.expr, stderr);
fprintf(stderr, ")\n"); fprintf(stderr, ")\n");
} }
#endif
newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri); newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri);
} }
if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN) if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment