projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8fc320
)
kconfig: fix return code for invalid boolean symbol in conf_set_sym_val()
author
Arnaud Lacombe
<lacombar@gmail.com>
Tue, 31 May 2011 16:31:57 +0000
(12:31 -0400)
committer
Arnaud Lacombe
<lacombar@gmail.com>
Mon, 6 Jun 2011 19:32:11 +0000
(15:32 -0400)
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
scripts/kconfig/confdata.c
patch
|
blob
|
history
diff --git
a/scripts/kconfig/confdata.c
b/scripts/kconfig/confdata.c
index 0a1ccc397b860411a8c9b36c473da8783d07b7d2..4e878dda1add03cf9c700852a5249b50e7e69817 100644
(file)
--- a/
scripts/kconfig/confdata.c
+++ b/
scripts/kconfig/confdata.c
@@
-141,7
+141,7
@@
static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p)
break;
}
conf_warning("symbol value '%s' invalid for %s", p, sym->name);
-
break
;
+
return 1
;
case S_OTHER:
if (*p != '"') {
for (p2 = p; *p2 && !isspace(*p2); p2++)