summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2016-04-25 19:07:53 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-04-27 14:04:06 -0700
commitd18cb0e81f2ba3c71349d17c7d84e7e10066711e (patch)
treedd606559d8d76e42ed6d4e9d9ed727e9b41c0b59
parent7a78cc918c0e56518aa64a18cf6c0dfc067f5564 (diff)
downloadchrome-ec-d18cb0e81f2ba3c71349d17c7d84e7e10066711e.tar.gz
checkpatch: do not consider split text strings a problem
The checkpatch complaints about both lines longer than 80 characters AND character strings split between lines. Damn if you do, damn if you don't. With this addition split character strings are not a problem any more. BRANCH=none BUG=none TEST=split character strings are not reported as a violation by the pre-upload script. Change-Id: I8b5919f086f8c19fe4e6e3a4b99a816111882f0d Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/340535 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r--.checkpatch.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/.checkpatch.conf b/.checkpatch.conf
new file mode 100644
index 0000000000..4a77de0b55
--- /dev/null
+++ b/.checkpatch.conf
@@ -0,0 +1,5 @@
+# Not Linux, so don't expect a Linux tree.
+--no-tree
+
+# Ignore aspects we don't follow here.
+--ignore SPLIT_STRING