From 3c7413f49c030722c9499af9b6db3d4cbac772ba Mon Sep 17 00:00:00 2001 From: Michael Brudevold Date: Fri, 3 Jun 2022 16:26:04 -0500 Subject: doc/coding-style: Update URL to kernel coding style --- doc/coding-style.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc') diff --git a/doc/coding-style.txt b/doc/coding-style.txt index f0bf880e3..e73158840 100644 --- a/doc/coding-style.txt +++ b/doc/coding-style.txt @@ -7,14 +7,14 @@ some level of consistency among developers so that code can be easily understood and maintained. First of all, BlueZ coding style must follow every rule for Linux kernel -(http://www.kernel.org/doc/Documentation/CodingStyle). 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 except this one: "ERROR: Missing -Signed-off-by: line(s)". BlueZ does not used Signed-Off lines, so including -them is actually an error. 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. +(https://www.kernel.org/doc/Documentation/process/coding-style.rst). 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 except this one: "ERROR: +Missing Signed-off-by: line(s)". BlueZ does not used Signed-Off lines, so +including them is actually an error. 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, BlueZ has special flavors for its own. Some of them are mandatory (marked as 'M'), while some others are optional -- cgit v1.2.1