From: Emil Velikov Date: Wed, 28 Jan 2026 20:04:42 +0000 (+0000) Subject: CODING-STYLE.md: update line wrapping section X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f36532f372b5185f6aeb54594318cf877d2f8a33;p=thirdparty%2Fkmod.git CODING-STYLE.md: update line wrapping section We follow the tab + spaces, alongside a 90 col (soft) limit. Signed-off-by: Emil Velikov Reviewed-by: Lucas De Marchi Link: https://github.com/kmod-project/kmod/pull/pull/417 Signed-off-by: Lucas De Marchi --- diff --git a/CODING-STYLE.md b/CODING-STYLE.md index c8a2c3c8..ec861bc5 100644 --- a/CODING-STYLE.md +++ b/CODING-STYLE.md @@ -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