Re: [PATCH] tools: hv: suppress the invalid warning for packed member alignment

From: Greg KH
Date: Sat May 04 2024 - 12:48:00 EST


On Wed, Apr 17, 2024 at 01:21:49AM -0700, Saurabh Singh Sengar wrote:
> On Wed, Apr 17, 2024 at 10:17:21AM +0200, Greg KH wrote:
> > On Wed, Apr 17, 2024 at 01:00:48AM -0700, Saurabh Sengar wrote:
> > > Packed struct vmbus_bufring is 4096 byte aligned and the reporting
> > > warning is for the first member of that struct which shouldn't add
> > > any offset to create alignment issue.
> > >
> > > Suppress the warning by adding -Wno-address-of-packed-member flag to
> > > gcc.
> > >
> > > Reported-by: kernel test robot <yujie.liu@xxxxxxxxx>
> > > Closes: https://lore.kernel.org/all/202404121913.GhtSoKbW-lkp@xxxxxxxxx/
> > > Signed-off-by: Saurabh Sengar <ssengar@xxxxxxxxxxxxxxxxxxx>
> >
> > What commit id does this fix?
>
> Fixes: 45bab4d74651 ("tools: hv: Add vmbus_bufring")

Great, please provide that in the next verion of this change you send
out.

thanks,

greg k-h