Commit Graph

1 Commits (MyCruft)

Author SHA1 Message Date
Joachim Wiberg 8fddaf36ed .clang-format: initial import from Linux 5.15.6
Intended as an aid when working with in-tree C files, like makdevs.c.

Unlike for the kernel, which still has an 80-char limit line (but they
decided not to enforce it [0]), we set the limit to 132-char for us,
like we do for the python code (see ./.flake8).

[0] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bdc48fa11e46f867ea4d75fa59ee87a7f48be144

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
[yann.morin.1998@free.fr: use and explain the 132-char limit)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-01-01 15:01:13 +01:00