diff options
| author | Javier Tia <[email protected]> | 2025-09-05 14:53:47 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-09-16 13:45:00 -0600 |
| commit | a9d997685a400e1a08d60056177aefcd159bc2af (patch) | |
| tree | daf4e453df488a15a667a1449c8f75851270dd39 /include/linux/linux_string.h | |
| parent | 1b5a8ff3fdf607656097761174abe4b7473b89db (diff) | |
doc: Update U-Boot coding style guide with clang-format usage
The U-Boot coding style guide has been updated to include information
about using the `.clang-format` configuration file for automatic code
formatting. This ensures consistent formatting across the entire
codebase and aligns with Linux kernel coding standards. The goal with
introducing a predefined coding style is consistency rather than
personal preference.
The .clang-format file is copied directly from the Linux kernel without
any modifications, ensuring complete compatibility with kernel coding
standards.
Include comprehensive best practices for using clang-format,
specifically guidance on formatting only changed blocks versus entire
files, creating separate formatting-only commits for better code review,
and leveraging git clang-format for targeted formatting. Add examples of
editor integrations. This enhancement will help maintainers and
contributors to easily adhere to U-Boot coding standards.
Signed-off-by: Javier Tia <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
