[PATCH i-g-t] .checkpatch.conf: Add checkpatch.pl defaults for IGT
Peter Senna Tschudin
peter.senna at linux.intel.com
Thu Jul 10 18:16:13 UTC 2025
CONTRIBUTING.md contains instruction on how to use Linux kernel'
checkpatch.pl, including command line arguments for the tool.
As IGT maintainers use these options, let's standardize it in a
configuration file so that everyone using checkpatch.pl from IGT's
source code will use the same options.
Signed-off-by: Peter Senna Tschudin <peter.senna at linux.intel.com>
---
.checkpatch.conf | 6 ++++++
1 file changed, 6 insertions(+)
create mode 100644 .checkpatch.conf
diff --git a/.checkpatch.conf b/.checkpatch.conf
new file mode 100644
index 000000000..eac25592f
--- /dev/null
+++ b/.checkpatch.conf
@@ -0,0 +1,6 @@
+--emacs
+--strict
+--show-types
+--max-line-length=100
+--ignore=BIT_MACRO,SPLIT_STRING,LONG_LINE_STRING,BOOL_MEMBER,PREFER_KERNEL_TYPES
+
--
2.43.0
More information about the igt-dev
mailing list