Re: linux-next: build warning from Linus' tree

From: Thomas Gleixner
Date: Thu Aug 29 2019 - 18:29:39 EST


Stephen,

On Fri, 30 Aug 2019, Stephen Rothwell wrote:

> Hi all,
>
> From Linus tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
>
> arch/x86/boot/edd.c: In function 'query_edd':
> arch/x86/boot/edd.c:148:11: warning: taking address of packed member of 'struct boot_params' may result in an unaligned pointer value [-Waddress-of-packed-member]
> 148 | mbrptr = boot_params.edd_mbr_sig_buffer;
> | ^~~~~~~~~~~
>
> I assume this is a result of upgrading my x86_64 cross compiler to v9.2.1
> (from v8.3.0).

Yes. We have a fix queued which should hit next tomorrow.

Thanks,

tglx