summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2011-05-31 18:31:57 +0200
committerArnaud Lacombe <lacombar@gmail.com>2011-06-06 21:32:11 +0200
commit75f1468beaeca690e139b4e1bcd19aa20973fca9 (patch)
tree4a8730c1ecb3db929be3368344314cec2acaa2c2 /scripts/kconfig
parentkconfig: annotate non-trivial fall-trough (diff)
downloadlinux-75f1468beaeca690e139b4e1bcd19aa20973fca9.tar.xz
linux-75f1468beaeca690e139b4e1bcd19aa20973fca9.zip
kconfig: fix return code for invalid boolean symbol in conf_set_sym_val()
Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/confdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index 0a1ccc397b86..4e878dda1add 100644
--- 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++)