From 05622191e510e495b6a06da6342126e80a3fed8f Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Tue, 18 Oct 2011 10:06:59 +0000 Subject: tools: checkpatch.pl from Linux added to tools Added from Linux - commit 30ecad51849ae132dc6ef6ddb62d499c7257515b Include config file to ignore common false-positives Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Wolfgang Denk --- .checkpatch.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .checkpatch.conf (limited to '.checkpatch.conf') diff --git a/.checkpatch.conf b/.checkpatch.conf new file mode 100644 index 0000000000..977db9edbb --- /dev/null +++ b/.checkpatch.conf @@ -0,0 +1,14 @@ +# Not Linux, so don't expect a Linux tree. +--no-tree + +# Temporary for false positive in checkpatch +--ignore COMPLEX_MACRO + +# For CONFIG_SYS_I2C_NOPROBES +--ignore MULTISTATEMENT_MACRO_USE_DO_WHILE + +# For simple_strtoul +--ignore CONSIDER_KSTRTO + +# For min/max +--ignore MINMAX -- cgit v1.2.3