From: Arnaud Lacombe Date: Tue, 31 May 2011 16:31:57 +0000 (-0400) Subject: kconfig: fix return code for invalid boolean symbol in conf_set_sym_val() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=75f1468beaeca690e139b4e1bcd19aa20973fca9;p=openwrt%2Fstaging%2Fblogic.git kconfig: fix return code for invalid boolean symbol in conf_set_sym_val() Cc: Sam Ravnborg Signed-off-by: Arnaud Lacombe --- 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++)