[PATCH] checkpatch: Add check for space indentation in Kconfig

Tom Rini trini at konsulko.com
Tue Jan 6 21:16:17 CET 2026


On Mon, 22 Dec 2025 17:42:55 +0000, Kuan-Wei Chiu wrote:

> U-Boot requires Kconfig options to be indented with tabs, whereas Linux
> allows spaces. Add a U-Boot specific check to warn when spaces are used
> for indentation in Kconfig files.
> 
> To ensure this check is executed, move the u_boot_line() invocation in
> process() to occur before the valid source file check. Previously,
> Kconfig files were skipped by the file extension filter before the
> U-Boot specific checks could run.
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] checkpatch: Add check for space indentation in Kconfig
      commit: eea1c6ec4ead013fcdbc1f4ee1a5f595d58ca303
-- 
Tom




More information about the U-Boot mailing list