[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024041708-juror-briskly-9c86@gregkh>
Date: Wed, 17 Apr 2024 10:17:21 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Saurabh Sengar <ssengar@...ux.microsoft.com>
Cc: kys@...rosoft.com, haiyangz@...rosoft.com, wei.liu@...nel.org,
decui@...rosoft.com, linux-kernel@...r.kernel.org,
linux-hyperv@...r.kernel.org, ssengar@...rosoft.com
Subject: Re: [PATCH] tools: hv: suppress the invalid warning for packed
member alignment
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@...el.com>
> Closes: https://lore.kernel.org/all/202404121913.GhtSoKbW-lkp@intel.com/
> Signed-off-by: Saurabh Sengar <ssengar@...ux.microsoft.com>
What commit id does this fix?
thanks,
greg k-h
Powered by blists - more mailing lists