summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-03-04 18:51:16 -0700
committerMartin Roth <martinroth@google.com>2017-03-09 04:37:28 +0100
commit2e17eaed1bfb2e6362790b4a7590c48c6602a8bf (patch)
treeefa91bccf1b7518a91a57cf8d998b2b8b0b1f636
parenta3cac87ea805689f791e5e47ef12afff1c7e2b5d (diff)
checkpatch.conf: Update rules
- Remove the "MISSING_SPACE" check which checks for breaks at a space in a string concatenation. Most of the time this makes sense, but we occasionally need to break where there isn't a space, so having a hard rule doesn't always work. - Don't check the vendorcode directory for compliance to coreboot's code format rules. Change-Id: Ic07677b19520b5d22363834c77f5dee7bba9e429 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/18569 Tested-by: build bot (Jenkins) Reviewed-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
-rw-r--r--.checkpatch.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/.checkpatch.conf b/.checkpatch.conf
index f194cedc3d..ad04d39c3b 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -15,6 +15,7 @@
--ignore AVOID_EXTERNS
--ignore VOLATILE
--ignore CONFIG_DESCRIPTION
+--ignore MISSING_SPACE
# FILE_PATH_CHANGES seems to not be working correctly. It will
# choke on added / deleted files even if the MAINTAINERS file
@@ -24,3 +25,7 @@
# This one has a linux path hard coded, so it would choke on
# some commits unnecessarily.
--ignore EXECUTE_PERMISSIONS
+
+# Exclude the vendorcode directory
+--exclude src/vendorcode
+