diff mbox series

[2/2] scripts: checkpatch: ignore volatile and extern warnings

Message ID 20170601071823.457-2-petri.savolainen@linaro.org
State Accepted
Commit 15ea6562d284bd5f2bd20e9b79bd102db106555c
Headers show
Series [1/2] scripts: checkpatch: revert code modification | expand

Commit Message

Petri Savolainen June 1, 2017, 7:18 a.m. UTC
These warnings were disabled with code modification. Use
checkpatch config file to ignore those.

Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>

---
 .checkpatch.conf | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.11.0
diff mbox series

Patch

diff --git a/.checkpatch.conf b/.checkpatch.conf
index 043551a4..990a54d2 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -8,5 +8,7 @@ 
 --ignore=BIT_MACRO
 --ignore=PREFER_PRINTF
 --ignore=PREFER_SCANF
+--ignore=VOLATILE
+--ignore=AVOID_EXTERNS
 --codespell
 --codespellfile=/usr/share/codespell/dictionary.txt