diff options
author | Justin M. Forbes <jforbes@fedoraproject.org> | 2018-04-16 11:04:31 -0500 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2018-04-16 11:04:31 -0500 |
commit | 8cf006311dbc7f652b4f9e7cd1472d42e0446d73 (patch) | |
tree | d5b85e06a4ff6b6ecf1f1c124a8423f1c7c8ab30 /0001-Back-out-Kconfig.patch | |
parent | 7b0c0c030e94a32fdd39f26f7d851ed518791ee4 (diff) | |
download | kernel-8cf006311dbc7f652b4f9e7cd1472d42e0446d73.tar.gz kernel-8cf006311dbc7f652b4f9e7cd1472d42e0446d73.tar.xz kernel-8cf006311dbc7f652b4f9e7cd1472d42e0446d73.zip |
Linux v4.17-rc1
Diffstat (limited to '0001-Back-out-Kconfig.patch')
-rw-r--r-- | 0001-Back-out-Kconfig.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/0001-Back-out-Kconfig.patch b/0001-Back-out-Kconfig.patch new file mode 100644 index 000000000..a7e3d3b4e --- /dev/null +++ b/0001-Back-out-Kconfig.patch @@ -0,0 +1,37 @@ +From c49af822e6713efff10f2911ce12e5cebcd028b5 Mon Sep 17 00:00:00 2001 +From: Fedora Kernel Team <kernel-team@fedoraproject.org> +Date: Mon, 16 Apr 2018 10:19:18 -0500 +Subject: [PATCH] Back out Kconfig + +--- + scripts/kconfig/conf.c | 14 ++------------ + 1 file changed, 2 insertions(+), 12 deletions(-) + +diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c +index 283eeed..4e08121 100644 +--- a/scripts/kconfig/conf.c ++++ b/scripts/kconfig/conf.c +@@ -422,18 +422,8 @@ static void check_conf(struct menu *menu) + if (sym_is_changable(sym) || + (sym_is_choice(sym) && sym_get_tristate_value(sym) == yes)) { + if (input_mode == listnewconfig) { +- if (sym->name) { +- const char *str; +- +- if (sym->type == S_STRING) { +- str = sym_get_string_value(sym); +- str = sym_escape_string_value(str); +- printf("%s%s=%s\n", CONFIG_, sym->name, str); +- free((void *)str); +- } else { +- str = sym_get_string_value(sym); +- printf("%s%s=%s\n", CONFIG_, sym->name, str); +- } ++ if (sym->name && !sym_is_choice_value(sym)) { ++ printf("%s%s\n", CONFIG_, sym->name); + } + } else { + if (!conf_cnt++) +-- +2.14.3 + |