From: sam@ravnborg.org
To: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org
Cc: Sam Ravnborg <sam@uranus.ravnborg.org>, Sam Ravnborg <sam@ravnborg.org>
Subject: [PATCH] kconfig: kill the warning "trying to assign nonexistent symbol"
Date: Fri, 2 May 2008 22:49:18 +0200 [thread overview]
Message-ID: <1209761358-6579-5-git-send-email-sam@ravnborg.org> (raw)
In-Reply-To: <1209761358-6579-4-git-send-email-sam@ravnborg.org>
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
next prev parent reply other threads:[~2008-05-02 20:48 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-02 20:47 kconfig frontend updates Sam Ravnborg
2008-05-02 20:49 ` [PATCH] kconfig: add support for K=file sam
2008-05-02 20:49 ` [PATCH] kconfig: drop all*config support in conf.c sam
2008-05-02 20:49 ` [PATCH] kconfig: conf is less chatty sam
2008-05-02 20:49 ` [PATCH] kconfig: .gitignore aconf sam
2008-05-02 20:49 ` sam [this message]
2008-05-10 21:25 ` [PATCH] kconfig: add support for K=file Oleg Verych
2008-05-10 21:10 ` Sam Ravnborg
2008-05-10 21:50 ` Oleg Verych
2008-05-02 21:01 ` kconfig frontend updates Sam Ravnborg
2008-05-04 18:57 ` Sam Ravnborg
2008-05-04 18:59 ` [PATCH 1/2] kconfig: introduce K= support Sam Ravnborg
2008-05-06 2:55 ` Roman Zippel
2008-05-06 4:34 ` Sam Ravnborg
2008-05-04 18:59 ` [PATCH 2/2] kconfig: make oldconfig less chatty and clean up conf.c Sam Ravnborg
2008-05-06 3:08 ` Roman Zippel
2008-05-06 4:37 ` Sam Ravnborg
2008-05-06 9:03 ` Jan Engelhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1209761358-6579-5-git-send-email-sam@ravnborg.org \
--to=sam@ravnborg.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@uranus.ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox