From 60d66714d3b41d69942652650672fd5259815538 Mon Sep 17 00:00:00 2001 From: Evan Green Date: Wed, 31 Jul 2019 15:25:25 -0700 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1728441 Reviewed-by: Jack Rosenthal Reviewed-by: Daisuke Nojiri --- .checkpatch.conf | 2 ++ 1 file changed, 2 insertions(+) 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