On Fri, Aug 01, 2008 at 10:22:20PM +0300, Adrian Bunk wrote: > Now that defconfig became less chatty the "trying to assign nonexistent symbol" > warnings become annoying: They are in practice not avoidable and give a > false impression that something would have gone wrong. > > If anyone already knows where to touch the code for disabling these > warnings for defconfigs that would be appreciated, otherwise I'll cook > up a patch. Last time I posted a patch to remove these warnings the feedback was that the warnings was used to say when a defconfig really needed an update. And the patch was buried inside another serie so I dropped it again. IIRC I added this warning long time ago and Roman was not happy with it - and he was right then. Sam diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 0759761..df6a188 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c @@ -222,10 +222,8 @@ load: continue; if (def == S_DEF_USER) { sym = sym_find(line + 9); - if (!sym) { - conf_warning("trying to assign nonexistent symbol %s", line + 9); + if (!sym) break; - } } else { sym = sym_lookup(line + 9, 0); if (sym->type == S_UNKNOWN) @@ -261,10 +259,8 @@ load: } if (def == S_DEF_USER) { sym = sym_find(line + 7); - if (!sym) { - conf_warning("trying to assign nonexistent symbol %s", line + 7); + if (!sym) break; - } } else { sym = sym_lookup(line + 7, 0); if (sym->type == S_UNKNOWN) -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html