[coreboot-gerrit] New patch to review for coreboot: Update .checkpatch.conf to match local changes

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Mon Aug 1 21:24:44 CEST 2016


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16010

-gerrit

commit 860d1b053b12aa21397a2c595524600c308fc027
Author: Stefan Reinauer <reinauer at chromium.org>
Date:   Mon Aug 1 12:21:30 2016 -0700

    Update .checkpatch.conf to match local changes
    
    Change-Id: Ic419b81cd36852a91e887e610d4a04984ab5fbd7
    Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
 .checkpatch.conf | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/.checkpatch.conf b/.checkpatch.conf
new file mode 100644
index 0000000..94108fc
--- /dev/null
+++ b/.checkpatch.conf
@@ -0,0 +1,25 @@
+# Not Linux, so don't expect a Linux tree.
+--no-tree
+
+# Require every Kconfig symbol to have at least two lines in their description.
+--min-conf-desc-length=2
+
+# Ignore aspects we don't follow here.
+--ignore C99_COMMENTS
+--ignore GLOBAL_INITIALISERS
+--ignore INITIALISED_STATIC
+--ignore LINE_SPACING
+--ignore NEW_TYPEDEFS
+--ignore PREFER_ALIGNED
+--ignore PREFER_PACKED
+--ignore PREFER_PRINTF
+--ignore SPLIT_STRING
+
+# FILE_PATH_CHANGES seems to not be working correctly. It will
+# choke on added / deleted files even if the MAINTAINERS file
+# is touched.
+--ignore FILE_PATH_CHANGES
+
+# This one has a linux path hard coded, so it would choke on
+# some commits unnecessarily.
+--ignore EXECUTE_PERMISSIONS



More information about the coreboot-gerrit mailing list