On Fri, Aug 24, 2018 at 04:22:15PM +0100, Wei Liu wrote:
> Building rombios with clang XXX fails with:
> 
> tcgbios.c:1519:34: error: taking address of packed member 'u' of class or 
> structure 'pushad_regs_t' may result in an unaligned pointer value 
> [-Werror,-Waddress-of-packed-member]
>                                               ®s->u.r32.edx);
>                                                ^~~~~~~~~~~~~~~
> 
> Work around that by using an intermediate variable.
> 
> Signed-off-by: Wei Liu <wei.l...@citrix.com>

Reviewed-by: Doug Goldstein <car...@cardoe.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to