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

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/kconfig/symbol.c+2−0
@@ -350,6 +350,7 @@ void sym_calc_value(struct symbol *sym) · 349 unmodified lines
350 }350 }
351 }351 }
352 calc_newval:352 calc_newval:
353#if 0
353 if (sym->dir_dep.tri == no && sym->rev_dep.tri != no) {354 if (sym->dir_dep.tri == no && sym->rev_dep.tri != no) {
354 fprintf(stderr, "warning: (");355 fprintf(stderr, "warning: (");
355 expr_fprint(sym->rev_dep.expr, stderr);356 expr_fprint(sym->rev_dep.expr, stderr);
@@ -358,6 +359,7 @@ void sym_calc_value(struct symbol *sym) · 2 unmodified lines
358 expr_fprint(sym->dir_dep.expr, stderr);359 expr_fprint(sym->dir_dep.expr, stderr);
359 fprintf(stderr, ")\n");360 fprintf(stderr, ")\n");
360 }361 }
362#endif
361 newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri);363 newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri);
362 }364 }
363 if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN)365 if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN)