]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
doc: .clang-format description
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 24 Apr 2026 13:05:10 +0000 (15:05 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 1 May 2026 08:33:08 +0000 (10:33 +0200)
We cannot use .clang-format without modification. For instance U-Boot
has some for each macros that Linux does not have.

Adjust the description.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
doc/develop/codingstyle.rst

index 2a69162fa95f51bd67db7070b2a5311207460aca..26881cf390063551d278936f86b69dd347393d77 100644 (file)
@@ -80,8 +80,10 @@ Code Formatting with clang-format
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 U-Boot provides a `.clang-format` configuration file that was copied directly
-from the Linux kernel without any modifications, ensuring complete compatibility
-with kernel coding standards. Here are common ways to use clang-format:
+from the Linux kernel, ensuring complete compatibility with kernel coding
+standards.
+
+Here are common ways to use clang-format:
 
 **Basic usage for single files:**