summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2018-01-05 12:33:20 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-01-09 01:43:25 +0100
commitb4d5af241860bccb930b1acd14244f7f5d13c539 (patch)
tree4903bd90d18907608053ad07bf157caed798bd94
parenta12f226789156ed1f2f5639567408379fe2e6a46 (diff)
downloaddpdk-b4d5af241860bccb930b1acd14244f7f5d13c539.zip
dpdk-b4d5af241860bccb930b1acd14244f7f5d13c539.tar.gz
dpdk-b4d5af241860bccb930b1acd14244f7f5d13c539.tar.xz
devtools: ignore checkpatch warning for maintainers file
The script checkpatch.pl from Linux is enforcing a tab in the MAINTAINERS file (Linux commit 628f91a28649). It can be ignored in our wrapper checkpatches.sh. Suggested-by: Remy Horton <remy.horton@intel.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Remy Horton <remy.horton@intel.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
-rwxr-xr-xdevtools/checkpatches.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh
index a56c41a..7676a6b 100755
--- a/devtools/checkpatches.sh
+++ b/devtools/checkpatches.sh
@@ -41,7 +41,8 @@ length=${DPDK_CHECKPATCH_LINE_LENGTH:-80}
options="--no-tree"
options="$options --max-line-length=$length"
options="$options --show-types"
-options="$options --ignore=LINUX_VERSION_CODE,FILE_PATH_CHANGES,\
+options="$options --ignore=LINUX_VERSION_CODE,\
+FILE_PATH_CHANGES,MAINTAINERS_STYLE,\
VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,\
PREFER_KERNEL_TYPES,BIT_MACRO,CONST_STRUCT,\
SPLIT_STRING,LONG_LINE_STRING,\