[PATCH] kconfig: kill the warning "trying to assign nonexistent symbol"

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>, <linux-kbuild@...>
Cc: Sam Ravnborg <sam@...>, Sam Ravnborg <sam@...>
Date: Friday, May 2, 2008 - 4:49 pm

From: Sam Ravnborg <sam@uranus.ravnborg.org>

The warning is only annoying and not used.
So drop it.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
 scripts/kconfig/confdata.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index ee5fe94..ea44754 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)
-- 
1.5.4.1.143.ge7e51

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
kconfig frontend updates, Sam Ravnborg, (Fri May 2, 4:47 pm)
Re: kconfig frontend updates, Sam Ravnborg, (Sun May 4, 2:57 pm)
[PATCH 1/2] kconfig: introduce K= support, Sam Ravnborg, (Sun May 4, 2:59 pm)
Re: [PATCH 1/2] kconfig: introduce K= support, Roman Zippel, (Mon May 5, 10:55 pm)
Re: [PATCH 1/2] kconfig: introduce K= support, Sam Ravnborg, (Tue May 6, 12:34 am)
Re: kconfig frontend updates, Sam Ravnborg, (Fri May 2, 5:01 pm)
[PATCH] kconfig: conf is less chatty, , (Fri May 2, 4:49 pm)
[PATCH] kconfig: .gitignore aconf, , (Fri May 2, 4:49 pm)
[PATCH] kconfig: kill the warning "trying to assign nonexist..., , (Fri May 2, 4:49 pm)