From: Thomas Monjalon Date: Mon, 8 Jun 2020 13:28:50 +0000 (+0200) Subject: devtools: allow ENOSYS in checkpatch X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5a3f804159bafdaa218daf4c08d1ed2d88781e17;p=dpdk.git devtools: allow ENOSYS in checkpatch The Linux checkpatch default is warning on the use of ENOSYS. This is allowed in DPDK API. Signed-off-by: Thomas Monjalon Acked-by: Ferruh Yigit --- diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh index e24414b2bb..27ab1252b7 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,\