Re: [PATCH 0/6] Reduce scope address-of-packed-member warning

2024-10-25 Thread Bruce Richardson
On Fri, Oct 25, 2024 at 04:55:08PM +0200, David Marchand wrote: > On Fri, Oct 25, 2024 at 3:24 PM David Marchand > wrote: > > > > On Thu, Oct 17, 2024 at 4:22 PM Bruce Richardson > > wrote: > > > > > > The warning for address-of-packed-member was being disabled globally in > > > DPDK. While for

Re: [PATCH 0/6] Reduce scope address-of-packed-member warning

2024-10-25 Thread David Marchand
On Fri, Oct 25, 2024 at 3:24 PM David Marchand wrote: > > On Thu, Oct 17, 2024 at 4:22 PM Bruce Richardson > wrote: > > > > The warning for address-of-packed-member was being disabled globally in > > DPDK. While for drivers which need to access hardware-defined > > data-structures the use of pac

Re: [PATCH 0/6] Reduce scope address-of-packed-member warning

2024-10-25 Thread David Marchand
On Thu, Oct 17, 2024 at 4:22 PM Bruce Richardson wrote: > > The warning for address-of-packed-member was being disabled globally in > DPDK. While for drivers which need to access hardware-defined > data-structures the use of packed may make sense, for normal libs and > applications the use of pac

Re: [PATCH 0/6] Reduce scope address-of-packed-member warning

2024-10-17 Thread Bruce Richardson
On Thu, Oct 17, 2024 at 09:21:48AM -0700, Stephen Hemminger wrote: > On Thu, 17 Oct 2024 15:22:07 +0100 > Bruce Richardson wrote: > > > The warning for address-of-packed-member was being disabled globally in > > DPDK. While for drivers which need to access hardware-defined > > data-structures th

Re: [PATCH 0/6] Reduce scope address-of-packed-member warning

2024-10-17 Thread Stephen Hemminger
On Thu, 17 Oct 2024 15:22:07 +0100 Bruce Richardson wrote: > The warning for address-of-packed-member was being disabled globally in > DPDK. While for drivers which need to access hardware-defined > data-structures the use of packed may make sense, for normal libs and > applications the use of p

[PATCH 0/6] Reduce scope address-of-packed-member warning

2024-10-17 Thread Bruce Richardson
The warning for address-of-packed-member was being disabled globally in DPDK. While for drivers which need to access hardware-defined data-structures the use of packed may make sense, for normal libs and applications the use of packed data should be generally avoided. This patchset initially appl