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

Ferruh Yigit ferruh.yigit at amd.com
Tue Apr 4 15:00:12 CEST 2023


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) won't make it upstream.
> 
> Disable this warning.
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>

Sounds reasonable,
Acked-by: Ferruh Yigit <ferruh.yigit at amd.com>


Is there any occurrence in the public CI, as reference?



More information about the dev mailing list