aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Hershberger2011-10-18 05:06:59 -0500
committerWolfgang Denk2011-11-17 07:27:11 -0600
commit05622191e510e495b6a06da6342126e80a3fed8f (patch)
treea75b913b5cc50a14af2a4554139d63e210aae2e4 /.checkpatch.conf
parent56b13b1e06473d189bc202eb8a541d673fd20247 (diff)
downloadu-boot-05622191e510e495b6a06da6342126e80a3fed8f.tar.gz
u-boot-05622191e510e495b6a06da6342126e80a3fed8f.tar.xz
u-boot-05622191e510e495b6a06da6342126e80a3fed8f.zip
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 <joe.hershberger@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to '.checkpatch.conf')
-rw-r--r--.checkpatch.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/.checkpatch.conf b/.checkpatch.conf
new file mode 100644
index 0000000000..977db9edbb
--- /dev/null
+++ b/.checkpatch.conf
@@ -0,0 +1,14 @@
1# Not Linux, so don't expect a Linux tree.
2--no-tree
3
4# Temporary for false positive in checkpatch
5--ignore COMPLEX_MACRO
6
7# For CONFIG_SYS_I2C_NOPROBES
8--ignore MULTISTATEMENT_MACRO_USE_DO_WHILE
9
10# For simple_strtoul
11--ignore CONSIDER_KSTRTO
12
13# For min/max
14--ignore MINMAX