From: Stefan Hajnoczi <stefanha@gmail.com>
To: Stefan Weil <sw@weilnetz.de>
Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Use macro QEMU_PACKED for new packed structures
Date: Sat, 21 Jul 2012 10:46:45 +0100 [thread overview]
Message-ID: <20120721094645.GA14213@stefanha-thinkpad.localdomain> (raw)
In-Reply-To: <1342627957-31682-1-git-send-email-sw@weilnetz.de>
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 <sw@weilnetz.de>
> ---
> 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
prev parent reply other threads:[~2012-07-21 9:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-18 16:12 [Qemu-devel] [PATCH] Use macro QEMU_PACKED for new packed structures Stefan Weil
2012-07-18 16:33 ` Peter Maydell
2012-07-18 16:42 ` Stefan Weil
2012-07-18 16:51 ` Peter Maydell
2012-07-21 9:46 ` Stefan Hajnoczi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120721094645.GA14213@stefanha-thinkpad.localdomain \
--to=stefanha@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=sw@weilnetz.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).