* [dpdk-dev] [PATCH] devtools: allow ENOSYS in checkpatch
@ 2020-06-08 13:28 Thomas Monjalon
2020-06-08 13:47 ` Ferruh Yigit
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2020-06-08 13:28 UTC (permalink / raw)
To: dev; +Cc: david.marchand
The Linux checkpatch default is warning on the use of ENOSYS.
This is allowed in DPDK API.
Signed-off-by: Thomas Monjalon <thomas@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] devtools: allow ENOSYS in checkpatch
2020-06-08 13:28 [dpdk-dev] [PATCH] devtools: allow ENOSYS in checkpatch Thomas Monjalon
@ 2020-06-08 13:47 ` Ferruh Yigit
2020-07-03 9:08 ` David Marchand
0 siblings, 1 reply; 3+ messages in thread
From: Ferruh Yigit @ 2020-06-08 13:47 UTC (permalink / raw)
To: Thomas Monjalon, dev; +Cc: david.marchand
On 6/8/2020 2:28 PM, Thomas Monjalon wrote:
> The Linux checkpatch default is warning on the use of ENOSYS.
> This is allowed in DPDK API.
>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] devtools: allow ENOSYS in checkpatch
2020-06-08 13:47 ` Ferruh Yigit
@ 2020-07-03 9:08 ` David Marchand
0 siblings, 0 replies; 3+ messages in thread
From: David Marchand @ 2020-07-03 9:08 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: dev, Ferruh Yigit
On Mon, Jun 8, 2020 at 3:47 PM Ferruh Yigit <ferruh.yigit@intel.com> wrote:
>
> On 6/8/2020 2:28 PM, Thomas Monjalon wrote:
> > The Linux checkpatch default is warning on the use of ENOSYS.
> > This is allowed in DPDK API.
> >
> > Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
>
> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Applied, thanks.
--
David Marchand
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-03 9:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-08 13:28 [dpdk-dev] [PATCH] devtools: allow ENOSYS in checkpatch Thomas Monjalon
2020-06-08 13:47 ` Ferruh Yigit
2020-07-03 9:08 ` David Marchand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).