]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
CODING-STYLE.md: trim down the inspiration section
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 28 Jan 2026 19:56:10 +0000 (19:56 +0000)
committerLucas De Marchi <demarchi@kernel.org>
Tue, 3 Feb 2026 04:59:06 +0000 (22:59 -0600)
Omit nearly everything but the projects which serve as inspiration and
the associated (updated) Linux kernel style guide link.

The checkpatch references are not particularly useful - the tool
exists in another (massive) git repo, plus we're using clang-format.

Plus the line wrapping details are already listed a few lines below.

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 52290c8e1f5b0cae869917d720dd0e790bfa7a1f..c8a2c3c80ef29f6c8d63d849c798a6fe5c3f4c9b 100644 (file)
@@ -16,15 +16,8 @@ ASAP.
 
 # Inspiration
 
-First of all, kmod coding style must follow every rule for [Linux kernel]. There also exists a tool
-named `checkpatch.pl` to help you check the compliance with it. Just type
-"checkpatch.pl --no-tree patch_name" to check your patch. In theory, you need
-to clean up all the warnings and errors. In certain circumstances one can ignore
-the 80 character per line limit. This is generally only allowed if the
-alternative would make the code even less readable.
-
-Besides the kernel coding style above, kmod coding style is heavily based on
-oFono's and BlueZ's. Below some basic rules:
+The kmod coding style is heavily based on the [Linux kernel]'s, oFono's and
+BlueZ's. Below some basic rules:
 
 ## Line wrap
 
@@ -90,4 +83,4 @@ Let the includes in the following order, separated by a new line:
     < tool >
     "local headers"
 
-[Linux Kernel]: http://www.kernel.org/doc/Documentation/CodingStyle
+[Linux Kernel]: https://www.kernel.org/doc/html/v6.9/process/coding-style.html