[PATCH] bus/vmbus: remove unnecessary packed attribute
Stephen Hemminger
stephen at networkplumber.org
Wed Oct 30 16:26:08 CET 2024
On Wed, 30 Oct 2024 10:26:38 +0100
David Marchand <david.marchand at redhat.com> wrote:
> On Tue, Oct 22, 2024 at 4:37 AM Stephen Hemminger
> <stephen at networkplumber.org> wrote:
> >
> > The VMBus ring structure was marked packed which will cause
> > warnings if the no-address-of-packed is enabled. The structure
> > is all 32 bit values and the packed attribute has no impact
> > on the code layout; remove it.
> >
> > Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
>
> - Why only clean this structure in this header?
The patch was addressing the warning generated when the address
of packed member is re-enabled. The other usages are less of a problem
and cause no errors.
More information about the dev
mailing list