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

Thomas Monjalon thomas at monjalon.net
Sun Apr 23 15:55:49 CEST 2023


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 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>

Applied, thanks.





More information about the dev mailing list