summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Brudevold <michael.brudevold@veranexsolutions.com>2022-06-03 16:26:04 -0500
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-06-09 21:12:11 -0700
commit3c7413f49c030722c9499af9b6db3d4cbac772ba (patch)
tree036621bf42d18ea0599e9c8e6af177ff8de25c76 /doc
parent5ebc2b5a3e48dbe67a2d315979b096a1b4d1eb99 (diff)
downloadbluez-3c7413f49c030722c9499af9b6db3d4cbac772ba.tar.gz
doc/coding-style: Update URL to kernel coding style
Diffstat (limited to 'doc')
-rw-r--r--doc/coding-style.txt16
1 files changed, 8 insertions, 8 deletions
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