From: Masahiro Yamada Date: Tue, 10 Jun 2014 10:08:13 +0000 (+0900) Subject: kbuild: trivial - use tabs for code indent where possible X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=commitdiff_plain;h=d3bea25f5238e5abfe6d061c1e6840e354d27bf8 kbuild: trivial - use tabs for code indent where possible Signed-off-by: Masahiro Yamada Signed-off-by: Michal Marek Signed-off-by: Christian Lamparter --- diff --git a/config/conf.c b/config/conf.c index e308f5b..ceafacb 100644 --- a/config/conf.c +++ b/config/conf.c @@ -644,7 +644,7 @@ int main(int ac, char **av) if (input_mode == savedefconfig) { if (conf_write_defconfig(defconfig_file)) { fprintf(stderr, _("n*** Error while saving defconfig to: %s\n\n"), - defconfig_file); + defconfig_file); return 1; } } else if (input_mode != listnewconfig) { diff --git a/config/menu.c b/config/menu.c index 3ac2c9c..a26cc5d 100644 --- a/config/menu.c +++ b/config/menu.c @@ -258,8 +258,8 @@ static void sym_check_prop(struct symbol *sym) "config symbol '%s' uses select, but is " "not boolean or tristate", sym->name); else if (sym2->type != S_UNKNOWN && - sym2->type != S_BOOLEAN && - sym2->type != S_TRISTATE) + sym2->type != S_BOOLEAN && + sym2->type != S_TRISTATE) prop_warn(prop, "'%s' has wrong type. 'select' only " "accept arguments of boolean and " @@ -268,7 +268,7 @@ static void sym_check_prop(struct symbol *sym) case P_RANGE: if (sym->type != S_INT && sym->type != S_HEX) prop_warn(prop, "range is only allowed " - "for int or hex symbols"); + "for int or hex symbols"); if (!menu_validate_number(sym, prop->expr->left.sym) || !menu_validate_number(sym, prop->expr->right.sym)) prop_warn(prop, "range is invalid"); diff --git a/config/zconf.l b/config/zconf.l index a0eec5a..54058e0 100644 --- a/config/zconf.l +++ b/config/zconf.l @@ -27,8 +27,8 @@ static char *text; static int text_size, text_asize; struct buffer { - struct buffer *parent; - YY_BUFFER_STATE state; + struct buffer *parent; + YY_BUFFER_STATE state; }; struct buffer *current_buf; diff --git a/config/zconf.y b/config/zconf.y index 992fa55..bd2c500 100644 --- a/config/zconf.y +++ b/config/zconf.y @@ -510,7 +510,7 @@ void conf_parse(const char *name) for_all_symbols(i, sym) { if (sym_check_deps(sym)) zconfnerrs++; - } + } if (zconfnerrs) exit(1); sym_set_change_count(1);