Re: [PATCH] devtool: fix falsely reporting from checkpatch

2025-01-28 Thread Andre Muezerie
On Tue, Jan 28, 2025 at 04:02:27PM +0100, David Marchand wrote: > Hi, > > On Mon, Jan 20, 2025 at 12:27 PM WanRenyong wrote: > > > > When executes the check_packed_attributes function in checkpatch, > > if __rte_packed_begin or __rte_packed_end appear in the context > > of a patch file, there may

Re: [PATCH] devtool: fix falsely reporting from checkpatch

2025-01-28 Thread David Marchand
Hi, On Mon, Jan 20, 2025 at 12:27 PM WanRenyong wrote: > > When executes the check_packed_attributes function in checkpatch, > if __rte_packed_begin or __rte_packed_end appear in the context > of a patch file, there may be a situation where the counts of > __rte_packed_begin and __rte_packed_end

[PATCH] devtool: fix falsely reporting from checkpatch

2025-01-20 Thread WanRenyong
When executes the check_packed_attributes function in checkpatch, if __rte_packed_begin or __rte_packed_end appear in the context of a patch file, there may be a situation where the counts of __rte_packed_begin and __rte_packed_end do not match, causing checkpatch to return a failure. This patch fi