]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
CODING-STYLE.md: update line wrapping section
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 28 Jan 2026 20:04:42 +0000 (20:04 +0000)
committerLucas De Marchi <demarchi@kernel.org>
Tue, 3 Feb 2026 04:59:06 +0000 (22:59 -0600)
We follow the tab + spaces, alongside a 90 col (soft) limit.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Lucas De Marchi <demarchi@kernel.org>
Link: https://github.com/kmod-project/kmod/pull/pull/417
Signed-off-by: Lucas De Marchi <demarchi@kernel.org>
CODING-STYLE.md

index c8a2c3c80ef29f6c8d63d849c798a6fe5c3f4c9b..ec861bc5cd23c251d2e4b12b4a4f76c51d237b91 100644 (file)
@@ -21,7 +21,7 @@ BlueZ's. Below some basic rules:
 
 ## Line wrap
 
-Wrap line at 80 char limit.
+Wrap line at 90 char limit.
 
 There are a few exceptions:
 
@@ -34,8 +34,7 @@ order to be able to grep for that string. E.g:
 - If code would become unreadable if line is wrapped
 - If there's only one argument to the function, don't put it alone in a new line
 
-Align the wrapped line either with tabs (BlueZ, oFono, etc) or tab + spaces
-(kernel), at your discretion. Kernel's is preferred.
+Align the wrapped line with tab + spaces.
 
 ## Try to return/exit early