linux-stable/arch
Masahiro Yamada 3b9ab248bc kbuild: use 4-space indentation when followed by conditionals
GNU Make manual [1] clearly forbids a tab at the beginning of the
conditional directive line:
 "Extra spaces are allowed and ignored at the beginning of the
  conditional directive line, but a tab is not allowed."

This will not work for the next release of GNU Make, hence commit
82175d1f94 ("kbuild: Replace tabs with spaces when followed by
conditionals") replaced the inappropriate tabs with 8 spaces.

However, the 8-space indentation cannot be visually distinguished.
Linus suggested 2-4 spaces for those nested if-statements. [2]

This commit redoes the replacement with 4 spaces.

[1]: https://www.gnu.org/software/make/manual/make.html#Conditional-Syntax
[2]: https://lore.kernel.org/all/CAHk-=whJKZNZWsa-VNDKafS_VfY4a5dAjG-r8BZgWk_a-xSepw@mail.gmail.com/

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2024-02-15 06:05:44 +09:00
..
alpha RTC for 6.8 2024-01-18 17:25:39 -08:00
arc work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
arm 21 hotfixes. 12 are cc:stable and the remainder pertain to post-6.7 2024-02-10 15:28:07 -08:00
arm64 work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
csky work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
hexagon asm-generic cleanups for 6.8 2024-01-10 18:13:44 -08:00
loongarch work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
m68k kbuild: use 4-space indentation when followed by conditionals 2024-02-15 06:05:44 +09:00
microblaze Microblaze patches for 6.8-rc1 2024-01-17 11:27:23 -08:00
mips work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
nios2 percpu: 2024-01-18 15:01:28 -08:00
openrisc
parisc kbuild: use 4-space indentation when followed by conditionals 2024-02-15 06:05:44 +09:00
powerpc work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
riscv work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
s390 work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
sh sh updates for v6.8 2024-01-20 09:24:06 -08:00
sparc work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
um work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
x86 kbuild: use 4-space indentation when followed by conditionals 2024-02-15 06:05:44 +09:00
xtensa work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
.gitignore
Kconfig scs: add CONFIG_MMU dependency for vfree_atomic() 2024-01-25 23:52:21 -08:00