* annoying "trying to assign nonexistent symbol" warnings
@ 2008-08-01 19:22 Adrian Bunk
2008-08-01 19:38 ` Sam Ravnborg
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2008-08-01 19:22 UTC (permalink / raw)
To: zippel, sam; +Cc: linux-kbuild
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.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: annoying "trying to assign nonexistent symbol" warnings
2008-08-01 19:22 annoying "trying to assign nonexistent symbol" warnings Adrian Bunk
@ 2008-08-01 19:38 ` Sam Ravnborg
2008-08-04 21:09 ` Sam Ravnborg
0 siblings, 1 reply; 3+ messages in thread
From: Sam Ravnborg @ 2008-08-01 19:38 UTC (permalink / raw)
To: Adrian Bunk; +Cc: zippel, linux-kbuild
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)
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: annoying "trying to assign nonexistent symbol" warnings
2008-08-01 19:38 ` Sam Ravnborg
@ 2008-08-04 21:09 ` Sam Ravnborg
0 siblings, 0 replies; 3+ messages in thread
From: Sam Ravnborg @ 2008-08-04 21:09 UTC (permalink / raw)
To: Adrian Bunk; +Cc: zippel, linux-kbuild
On Fri, Aug 01, 2008 at 09:38:07PM +0200, Sam Ravnborg wrote:
> 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)
No commets to this - so I pushed it to Linus.
Sam
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-04 21:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-01 19:22 annoying "trying to assign nonexistent symbol" warnings Adrian Bunk
2008-08-01 19:38 ` Sam Ravnborg
2008-08-04 21:09 ` Sam Ravnborg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox