[dpdk-dev] [PATCH] devtools: allow ENOSYS in checkpatch
Thomas Monjalon
thomas at monjalon.net
Mon Jun 8 15:28:50 CEST 2020
The Linux checkpatch default is warning on the use of ENOSYS.
This is allowed in DPDK API.
Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
devtools/checkpatches.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh
index 158087f1ca..0a5840a3ad 100755
--- a/devtools/checkpatches.sh
+++ b/devtools/checkpatches.sh
@@ -27,7 +27,7 @@ elif [ -f "$codespell" ] ; then
fi
options="$options --max-line-length=$length"
options="$options --show-types"
-options="$options --ignore=LINUX_VERSION_CODE,\
+options="$options --ignore=LINUX_VERSION_CODE,ENOSYS,\
FILE_PATH_CHANGES,MAINTAINERS_STYLE,SPDX_LICENSE_TAG,\
VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,\
PREFER_KERNEL_TYPES,BIT_MACRO,CONST_STRUCT,\
--
2.26.2
More information about the dev
mailing list