diff options
Diffstat (limited to 'scripts/kconfig/menu.c')
-rw-r--r-- | scripts/kconfig/menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c index 3ac2c9c6e280..a26cc5d2a9b0 100644 --- a/scripts/kconfig/menu.c +++ b/scripts/kconfig/menu.c | |||
@@ -258,8 +258,8 @@ static void sym_check_prop(struct symbol *sym) | |||
258 | "config symbol '%s' uses select, but is " | 258 | "config symbol '%s' uses select, but is " |
259 | "not boolean or tristate", sym->name); | 259 | "not boolean or tristate", sym->name); |
260 | else if (sym2->type != S_UNKNOWN && | 260 | else if (sym2->type != S_UNKNOWN && |
261 | sym2->type != S_BOOLEAN && | 261 | sym2->type != S_BOOLEAN && |
262 | sym2->type != S_TRISTATE) | 262 | sym2->type != S_TRISTATE) |
263 | prop_warn(prop, | 263 | prop_warn(prop, |
264 | "'%s' has wrong type. 'select' only " | 264 | "'%s' has wrong type. 'select' only " |
265 | "accept arguments of boolean and " | 265 | "accept arguments of boolean and " |
@@ -268,7 +268,7 @@ static void sym_check_prop(struct symbol *sym) | |||
268 | case P_RANGE: | 268 | case P_RANGE: |
269 | if (sym->type != S_INT && sym->type != S_HEX) | 269 | if (sym->type != S_INT && sym->type != S_HEX) |
270 | prop_warn(prop, "range is only allowed " | 270 | prop_warn(prop, "range is only allowed " |
271 | "for int or hex symbols"); | 271 | "for int or hex symbols"); |
272 | if (!menu_validate_number(sym, prop->expr->left.sym) || | 272 | if (!menu_validate_number(sym, prop->expr->left.sym) || |
273 | !menu_validate_number(sym, prop->expr->right.sym)) | 273 | !menu_validate_number(sym, prop->expr->right.sym)) |
274 | prop_warn(prop, "range is invalid"); | 274 | prop_warn(prop, "range is invalid"); |