summaryrefslogtreecommitdiff
path: root/.checkpatch.conf
diff options
context:
space:
mode:
authorEvan Green <evgreen@chromium.org>2019-07-31 15:25:25 -0700
committerCommit Bot <commit-bot@chromium.org>2019-10-05 00:47:38 +0000
commit60d66714d3b41d69942652650672fd5259815538 (patch)
treeb41da5671837c39322fc11026e5bc5e348d91b8a /.checkpatch.conf
parent0128582fe62b51a74a4c6c5a91e9c5118e70e376 (diff)
downloadchrome-ec-60d66714d3b41d69942652650672fd5259815538.tar.gz
checkpatch: Avoid warnings about pointer extensions
Linux has its own crazy set of %p pointer extensions. We're moving the EC into using its own set of pointer extensions so we can turn on compile-time printf format checking, but they're not necessarily the same as Linux. Ignore those warnings so people doing perfectly legit things with our printf don't get pestered. BUG=chromium:984041 TEST=make -j buildall BRANCH=None Change-Id: Ife713d8c8bd2dbb904b2cf6610e278cd3cd4af6d Signed-off-by: Evan Green <evgreen@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1728441 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to '.checkpatch.conf')
-rw-r--r--.checkpatch.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/.checkpatch.conf b/.checkpatch.conf
index 96a6ee5277..e2783af81d 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -7,3 +7,5 @@
--ignore GIT_COMMIT_ID
--ignore C99_COMMENT_TOLERANCE
+
+--ignore VSPRINTF_POINTER_EXTENSION