History

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.

Michal Marek committed 16 years ago

Commit 71ebc011 parent ff5ff601 file · +2 −0Browse files

Unified · Split

scripts/kconfig/symbol.c+2−0
@@ -350,6 +350,7 @@ void sym_calc_value(struct symbol *sym) · 349 unmodified lines
350350 }
351351 }
352352 calc_newval:
353+#if 0
353354 if (sym->dir_dep.tri == no && sym->rev_dep.tri != no) {
354355 fprintf(stderr, "warning: (");
355356 expr_fprint(sym->rev_dep.expr, stderr);
@@ -358,6 +359,7 @@ void sym_calc_value(struct symbol *sym) · 2 unmodified lines
358359 expr_fprint(sym->dir_dep.expr, stderr);
359360 fprintf(stderr, ")\n");
360361 }
362+#endif
361363 newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri);
362364 }
363365 if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN)