History

kconfig: readd lost change count

Commit f072181e6403b0fe2e2aa800a005497b748fd284 ("kconfig: drop the ""trying to assign nonexistent symbol" warning") simply dropped the warnings, but it does a little more than that, it also marks the current .config as needed saving, so add this back.

zippel@linux-m68k.org committed 18 years ago

Commit 661b0681 parent 204c96f1 file · +6 −2Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/kconfig/confdata.c+6−2
@@ -222,8 +222,10 @@ load: · 221 unmodified lines
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 sym_add_change_count(1);
226 break;227 break;
228 }
227 } else {229 } else {
228 sym = sym_lookup(line + 9, 0);230 sym = sym_lookup(line + 9, 0);
229 if (sym->type == S_UNKNOWN)231 if (sym->type == S_UNKNOWN)
@@ -259,8 +261,10 @@ load: · 29 unmodified lines
259 }261 }
260 if (def == S_DEF_USER) {262 if (def == S_DEF_USER) {
261 sym = sym_find(line + 7);263 sym = sym_find(line + 7);
262 if (!sym)264 if (!sym) {
265 sym_add_change_count(1);
263 break;266 break;
267 }
264 } else {268 } else {
265 sym = sym_lookup(line + 7, 0);269 sym = sym_lookup(line + 7, 0);
266 if (sym->type == S_UNKNOWN)270 if (sym->type == S_UNKNOWN)