Received: from eggs.gnu.org ([208.118.235.92]:40099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsWGx-0000uO-I4 for qemu-devel@nongnu.org; Sat, 21 Jul 2012 05:46:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SsWGw-000734-Jy for qemu-devel@nongnu.org; Sat, 21 Jul 2012 05:46:51 -0400 Date: Sat, 21 Jul 2012 10:46:45 +0100 From: Stefan Hajnoczi Message-ID: <20120721094645.GA14213@stefanha-thinkpad.localdomain> References: <1342627957-31682-1-git-send-email-sw@weilnetz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1342627957-31682-1-git-send-email-sw@weilnetz.de> Subject: Re: [Qemu-devel] [PATCH] Use macro QEMU_PACKED for new packed structures List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org 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 > --- > 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