summaryrefslogtreecommitdiff
path: root/.checkpatch.conf
diff options
context:
space:
mode:
authorTedd Ho-Jeong An <tedd.an@intel.com>2020-06-22 10:18:17 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-06-22 10:47:52 -0700
commit3391fb4a06613130273d3a416753e7f088b971e6 (patch)
tree0286b36b2bdbf0088640d902a03c616cc25c8387 /.checkpatch.conf
parentc29241fe129f4a8dbca4adff45eacf9348d6ae2e (diff)
downloadbluez-3391fb4a06613130273d3a416753e7f088b971e6.tar.gz
checkpatch: Add configuration for checkpatch
This patch adds a configuration with basic rules for checkpatch.
Diffstat (limited to '.checkpatch.conf')
-rw-r--r--.checkpatch.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/.checkpatch.conf b/.checkpatch.conf
new file mode 100644
index 000000000..419733832
--- /dev/null
+++ b/.checkpatch.conf
@@ -0,0 +1,14 @@
+--no-tree
+--no-signoff
+--summary-file
+--show-types
+--max-line-length=80
+
+--ignore COMPLEX_MACRO
+--ignore SPLIT_STRING
+--ignore CONST_STRUCT
+--ignore FILE_PATH_CHANGES
+--ignore MISSING_SIGN_OFF
+--ignore PREFER_PACKED
+--ignore COMMIT_MESSAGE
+--ignore SSCANF_TO_KSTRTO