From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYblD-0005An-01 for qemu-devel@nongnu.org; Mon, 08 Jan 2018 13:02:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYblC-0006Mr-D4 for qemu-devel@nongnu.org; Mon, 08 Jan 2018 13:02:59 -0500 Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:45392) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYblC-0006MW-8p for qemu-devel@nongnu.org; Mon, 08 Jan 2018 13:02:58 -0500 Received: by mail-qk0-x242.google.com with SMTP id o126so15227337qke.12 for ; Mon, 08 Jan 2018 10:02:58 -0800 (PST) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Mon, 8 Jan 2018 15:02:30 -0300 Message-Id: <20180108180231.21122-7-f4bug@amsat.org> In-Reply-To: <20180108180231.21122-1-f4bug@amsat.org> References: <20180108180231.21122-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [RFC PATCH 6/7] net/eepro100: reduce alignment to DWORD (32bit) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jiri Pirko , Jason Wang , Dmitry Fleytman , Stefan Weil , Paolo Bonzini , Eduardo Habkost , "Michael S. Tsirkin" , Marcel Apfelbaum Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Eric Blake as suggested in the comment. Signed-off-by: Philippe Mathieu-Daudé --- hw/net/eepro100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/net/eepro100.c b/hw/net/eepro100.c index 61d767524f..abb44710d9 100644 --- a/hw/net/eepro100.c +++ b/hw/net/eepro100.c @@ -266,7 +266,7 @@ typedef struct { /* Data in mem is always in the byte order of the controller (le). * It must be dword aligned to allow direct access to 32 bit values. */ - uint8_t mem[PCI_MEM_SIZE] QEMU_ALIGNED(8); + uint8_t mem[PCI_MEM_SIZE] QEMU_ALIGNED(4); /* Configuration bytes. */ uint8_t configuration[22]; -- 2.15.1