On Thu, 17 Oct 2024 15:22:09 +0100 Bruce Richardson <bruce.richard...@intel.com> wrote:
> The structure "efd_online_group_entry" only consists of values which are > typedefs of "uint16_t", so packing the structure has no effect. The > "efd_online_chunk" structure has a mix of "uint8_t" and the > "efd_online_group_entry" struct, i.e. uint16_t values, but since the > first, uint8_t, member array is of even size, the packed attribute does > not affect the structure layout. > > Removing these packed attributes allows the library to compile cleanly > without "-Wno-address-of-packed-member" compiler flag. > > Signed-off-by: Bruce Richardson <bruce.richard...@intel.com> > --- Acked-by: Stephen Hemminger <step...@networkplumber.org>