diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/conf.c | 2 | ||||
-rw-r--r-- | scripts/kconfig/confdata.c | 8 |
2 files changed, 3 insertions, 7 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index 9fba838c7069..36b5eedcdc75 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c | |||
@@ -596,7 +596,7 @@ int main(int ac, char **av) | |||
596 | break; | 596 | break; |
597 | } | 597 | } |
598 | 598 | ||
599 | if (conf_get_changed() && conf_write(NULL)) { | 599 | if (conf_write(NULL)) { |
600 | fprintf(stderr, _("\n*** Error during writing of the kernel configuration.\n\n")); | 600 | fprintf(stderr, _("\n*** Error during writing of the kernel configuration.\n\n")); |
601 | exit(1); | 601 | exit(1); |
602 | } | 602 | } |
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 07597611cc50..df6a188b9930 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c | |||
@@ -222,10 +222,8 @@ load: | |||
222 | continue; | 222 | continue; |
223 | if (def == S_DEF_USER) { | 223 | if (def == S_DEF_USER) { |
224 | sym = sym_find(line + 9); | 224 | sym = sym_find(line + 9); |
225 | if (!sym) { | 225 | if (!sym) |
226 | conf_warning("trying to assign nonexistent symbol %s", line + 9); | ||
227 | break; | 226 | break; |
228 | } | ||
229 | } else { | 227 | } else { |
230 | sym = sym_lookup(line + 9, 0); | 228 | sym = sym_lookup(line + 9, 0); |
231 | if (sym->type == S_UNKNOWN) | 229 | if (sym->type == S_UNKNOWN) |
@@ -261,10 +259,8 @@ load: | |||
261 | } | 259 | } |
262 | if (def == S_DEF_USER) { | 260 | if (def == S_DEF_USER) { |
263 | sym = sym_find(line + 7); | 261 | sym = sym_find(line + 7); |
264 | if (!sym) { | 262 | if (!sym) |
265 | conf_warning("trying to assign nonexistent symbol %s", line + 7); | ||
266 | break; | 263 | break; |
267 | } | ||
268 | } else { | 264 | } else { |
269 | sym = sym_lookup(line + 7, 0); | 265 | sym = sym_lookup(line + 7, 0); |
270 | if (sym->type == S_UNKNOWN) | 266 | if (sym->type == S_UNKNOWN) |