git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73eefe6
)
scripts: ignore bit macro in checkpatch
author
Thomas Monjalon
<thomas.monjalon@6wind.com>
Tue, 19 Apr 2016 13:13:23 +0000
(15:13 +0200)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Tue, 24 May 2016 14:17:02 +0000
(16:17 +0200)
It was suggesting to use a Linux macro:
CHECK:BIT_MACRO: Prefer using the BIT macro
It is ignored because it is a false positive in DPDK case.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
scripts/checkpatches.sh
patch
|
blob
|
history
diff --git
a/scripts/checkpatches.sh
b/scripts/checkpatches.sh
index
5c58a20
..
4cae86d
100755
(executable)
--- a/
scripts/checkpatches.sh
+++ b/
scripts/checkpatches.sh
@@
-42,7
+42,7
@@
options="--no-tree"
options="$options --max-line-length=$length"
options="$options --show-types"
options="$options --ignore=LINUX_VERSION_CODE,FILE_PATH_CHANGES,\
-VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,PREFER_KERNEL_TYPES,\
+VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,PREFER_KERNEL_TYPES,
BIT_MACRO,
\
SPLIT_STRING,LINE_SPACING,PARENTHESIS_ALIGNMENT,NETWORKING_BLOCK_COMMENT_STYLE,\
NEW_TYPEDEFS,COMPARISON_TO_NULL"