Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

zippel@linux-m68k.org and committed by
Linus Torvalds
661b0680 204c96f6

+6 -2
+6 -2
scripts/kconfig/confdata.c
··· 222 222 continue; 223 223 if (def == S_DEF_USER) { 224 224 sym = sym_find(line + 9); 225 - if (!sym) 225 + if (!sym) { 226 + sym_add_change_count(1); 226 227 break; 228 + } 227 229 } else { 228 230 sym = sym_lookup(line + 9, 0); 229 231 if (sym->type == S_UNKNOWN) ··· 261 259 } 262 260 if (def == S_DEF_USER) { 263 261 sym = sym_find(line + 7); 264 - if (!sym) 262 + if (!sym) { 263 + sym_add_change_count(1); 265 264 break; 265 + } 266 266 } else { 267 267 sym = sym_lookup(line + 7, 0); 268 268 if (sym->type == S_UNKNOWN)