[PATCH v2 0/5] Fix clang-format configuration according to checkpatch.pl

From: Mickaël Salaün
Date: Fri May 06 2022 - 11:59:56 EST


Hi,

This series brings some improvements to the clang-format configuration
to make it compatible with the checkpatch.pl rules:
https://lore.kernel.org/r/8b6b252b-47a6-9d52-f0bd-10d3bc4ad244@xxxxxxxxxxx

I also found that the for_each issue has already been talk about here:
https://lore.kernel.org/lkml/CAHmME9ofzanQTBD_WYBRW49d+gM77rCdh8Utdk4+PM9n_bmKwA@xxxxxxxxxxxxxx/

I use these changes for Landlock.

This is based on v5.18-rc5.

Previous version:
https://lore.kernel.org/r/20220412153906.428179-1-mic@xxxxxxxxxxx

Regards,

Mickaël Salaün (5):
clang-format: Update and extend the for_each list with tools/
clang-format: Update to clang-format >= 6
clang-format: Fix goto labels indentation
clang-format: Fix empty curly braces
clang-format: Fix space after for_each macros

.clang-format | 216 +++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 169 insertions(+), 47 deletions(-)


base-commit: 672c0c5173427e6b3e2a9bbb7be51ceeec78093a
--
2.35.1