Re: [PATCH] devtools: suppress checkpatch warning on some kernel macro

2023-04-23 Thread Thomas Monjalon
04/04/2023 15:00, Ferruh Yigit: > On 4/4/2023 1:36 PM, David Marchand wrote: > > Kernel checkpatch.pl is confused about RTE_BUILD_BUG_ON() and warns as if > > our code was calling the kernel macro BUG_ON(). > > > > This does not make sense in the DPDK userspace code and the Linux kernel > > module

Re: [PATCH] devtools: suppress checkpatch warning on some kernel macro

2023-04-04 Thread David Marchand
On Tue, Apr 4, 2023 at 3:01 PM Ferruh Yigit wrote: > > On 4/4/2023 1:36 PM, David Marchand wrote: > > Kernel checkpatch.pl is confused about RTE_BUILD_BUG_ON() and warns as if > > our code was calling the kernel macro BUG_ON(). > > > > This does not make sense in the DPDK userspace code and the Li

Re: [PATCH] devtools: suppress checkpatch warning on some kernel macro

2023-04-04 Thread Ferruh Yigit
On 4/4/2023 1:36 PM, David Marchand wrote: > Kernel checkpatch.pl is confused about RTE_BUILD_BUG_ON() and warns as if > our code was calling the kernel macro BUG_ON(). > > This does not make sense in the DPDK userspace code and the Linux kernel > module hosted in our repository (kernel/linux/kni)

[PATCH] devtools: suppress checkpatch warning on some kernel macro

2023-04-04 Thread David Marchand
Kernel checkpatch.pl is confused about RTE_BUILD_BUG_ON() and warns as if our code was calling the kernel macro BUG_ON(). This does not make sense in the DPDK userspace code and the Linux kernel module hosted in our repository (kernel/linux/kni) won't make it upstream. Disable this warning. Sign