[coreboot-gerrit] New patch to review for coreboot: checkpatch: add .checkpatch.conf

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Wed Jul 27 20:34:26 CEST 2016


Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15919

-gerrit

commit 6bb864faa57072cb2d91f8b2556d1459e5755a8f
Author: Martin Roth <martinroth at chromium.org>
Date:   Wed Jul 27 11:56:32 2016 -0600

    checkpatch: add .checkpatch.conf
    
    Try to make checkpatch a little friendlier to the coreboot project.
    
    This is the checkpatch .conf from the Chrome OS tree.
    
    Change-Id: Ie45d5c93f97bd58f3ea31341b47c4ee2a8f02b1e
    Signed-off-by: Martin Roth <martinroth at chromium.org>
---
 .checkpatch.conf | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/.checkpatch.conf b/.checkpatch.conf
new file mode 100644
index 0000000..4b88745
--- /dev/null
+++ b/.checkpatch.conf
@@ -0,0 +1,16 @@
+# 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



More information about the coreboot-gerrit mailing list