diff options
author | Arnaud Lacombe <lacombar@gmail.com> | 2011-05-31 20:31:57 +0400 |
---|---|---|
committer | Arnaud Lacombe <lacombar@gmail.com> | 2011-06-06 23:32:11 +0400 |
commit | 75f1468beaeca690e139b4e1bcd19aa20973fca9 (patch) | |
tree | 4a8730c1ecb3db929be3368344314cec2acaa2c2 /scripts | |
parent | d8fc320079b46cf462897148f48d4a63f37f56ce (diff) | |
download | linux-75f1468beaeca690e139b4e1bcd19aa20973fca9.tar.xz |
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')
-rw-r--r-- | scripts/kconfig/confdata.c | 2 |
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++) |