>>> On 28.08.18 at 15:56, <wei.l...@citrix.com> wrote:
> The structure already has explicitly padding.
> 
> Removing the attribute silences a clang 6 warning:
> 
> 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);
>                                                    ^~~~~~~~~~~~~~~
> 
> Signed-off-by: Wei Liu <wei.l...@citrix.com>

Reviewed-by: Jan Beulich <jbeul...@suse.com>



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

Reply via email to