Skip to content

Commit 75f1468

Browse files
committed
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>
1 parent d8fc320 commit 75f1468

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/kconfig/confdata.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p)
141141
break;
142142
}
143143
conf_warning("symbol value '%s' invalid for %s", p, sym->name);
144-
break;
144+
return 1;
145145
case S_OTHER:
146146
if (*p != '"') {
147147
for (p2 = p; *p2 && !isspace(*p2); p2++)

0 commit comments

Comments
 (0)