From: Thomas Monjalon Date: Tue, 19 Apr 2016 13:13:23 +0000 (+0200) Subject: scripts: ignore bit macro in checkpatch X-Git-Tag: spdx-start~6859 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7c801f9f3adbd461d069078b59d6b70218f72d64;p=dpdk.git scripts: ignore bit macro in checkpatch 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 --- diff --git a/scripts/checkpatches.sh b/scripts/checkpatches.sh index 5c58a2028a..4cae86d924 100755 --- 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"