diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2011-10-18 10:06:59 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-17 14:27:11 +0100 |
commit | 05622191e510e495b6a06da6342126e80a3fed8f (patch) | |
tree | a75b913b5cc50a14af2a4554139d63e210aae2e4 /.checkpatch.conf | |
parent | 56b13b1e06473d189bc202eb8a541d673fd20247 (diff) | |
download | u-boot-imx-05622191e510e495b6a06da6342126e80a3fed8f.zip u-boot-imx-05622191e510e495b6a06da6342126e80a3fed8f.tar.gz u-boot-imx-05622191e510e495b6a06da6342126e80a3fed8f.tar.bz2 |
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.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.checkpatch.conf b/.checkpatch.conf new file mode 100644 index 0000000..977db9e --- /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 |