mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-03 18:23:34 +00:00
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>
This commit is contained in:
parent
56b13b1e06
commit
05622191e5
2 changed files with 3351 additions and 0 deletions
14
.checkpatch.conf
Normal file
14
.checkpatch.conf
Normal file
|
@ -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
|
3337
tools/checkpatch.pl
Executable file
3337
tools/checkpatch.pl
Executable file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue