qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Use macro QEMU_PACKED for new packed structures


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] Use macro QEMU_PACKED for new packed structures
Date: Sat, 21 Jul 2012 10:46:45 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Jul 18, 2012 at 06:12:37PM +0200, Stefan Weil wrote:
> Since commit 541dc0d47f10973c241e9955afc2aefc96adec51,
> some new packed structures were added without using QEMU_PACKED.
> 
> QEMU_PACKED is needed for compilations with MinGW.
> For other platforms nothing changes.
> 
> The code was fixed using this command:
> 
>     git grep -la '__attribute__ ((packed))'|xargs perl -pi -e 
> 's/__attribute__ \(\(packed\)\)/QEMU_PACKED/'
> 
> Signed-off-by: Stefan Weil <address@hidden>
> ---
>  hw/mfi.h          |   92 
> ++++++++++++++++++++++++++---------------------------
>  hw/ppce500_spin.c |    2 +-
>  2 files changed, 47 insertions(+), 47 deletions(-)

Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]