Commit d5cf50da authored by Linus Torvalds's avatar Linus Torvalds

Kconfig: add some hidden tabs on purpose

Commit d96c3600 ("tracing: Fix FTRACE_RECORD_RECURSION_SIZE Kconfig
entry") removed a hidden tab because it apparently showed breakage in
some third-party kernel config parsing tool.

It wasn't clear what tool it was, but let's make sure it gets fixed.
Because if you can't parse tabs as whitespace, you should not be parsing
the kernel Kconfig files.

In fact, let's make such breakage more obvious than some esoteric ftrace
record size option.  If you can't parse tabs, you can't have page sizes.

Yes, tab-vs-space confusion is sadly a traditional Unix thing, and
'make' is famous for being broken in this regard.  But no, that does not
mean that it's ok.

I'd add more random tabs to our Kconfig files, but I don't want to make
things uglier than necessary.  But it *might* bbe necessary if it turns
out we see more of this kind of silly tooling.

Fixes: d96c3600 ("tracing: Fix FTRACE_RECORD_RECURSION_SIZE Kconfig entry")
Link: https://lore.kernel.org/lkml/CAHk-=wj-hLLN_t_m5OL4dXLaxvXKy_axuoJYXif7iczbfgAevQ@mail.gmail.com/Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5939d451
...@@ -1172,12 +1172,12 @@ config PAGE_SIZE_LESS_THAN_256KB ...@@ -1172,12 +1172,12 @@ config PAGE_SIZE_LESS_THAN_256KB
config PAGE_SHIFT config PAGE_SHIFT
int int
default 12 if PAGE_SIZE_4KB default 12 if PAGE_SIZE_4KB
default 13 if PAGE_SIZE_8KB default 13 if PAGE_SIZE_8KB
default 14 if PAGE_SIZE_16KB default 14 if PAGE_SIZE_16KB
default 15 if PAGE_SIZE_32KB default 15 if PAGE_SIZE_32KB
default 16 if PAGE_SIZE_64KB default 16 if PAGE_SIZE_64KB
default 18 if PAGE_SIZE_256KB default 18 if PAGE_SIZE_256KB
# This allows to use a set of generic functions to determine mmap base # This allows to use a set of generic functions to determine mmap base
# address by giving priority to top-down scheme only if the process # address by giving priority to top-down scheme only if the process
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment