Received: from list by lists.gnu.org with archive (Exim 4.71) id 1acvJc-0007GU-Qt for mharc-grub-devel@gnu.org; Mon, 07 Mar 2016 08:35:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acvJV-00075D-S3 for grub-devel@gnu.org; Mon, 07 Mar 2016 08:35:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acvJS-00035G-BY for grub-devel@gnu.org; Mon, 07 Mar 2016 08:35:09 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:42148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acvJS-00032N-5W for grub-devel@gnu.org; Mon, 07 Mar 2016 08:35:06 -0500 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u27DYvbJ002804 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 7 Mar 2016 13:34:57 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u27DYvcV020160 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 7 Mar 2016 13:34:57 GMT Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u27DYun1014723; Mon, 7 Mar 2016 13:34:56 GMT Received: from olila.local.net-space.pl (/10.175.202.20) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 07 Mar 2016 05:34:56 -0800 Date: Mon, 7 Mar 2016 14:34:52 +0100 From: Daniel Kiper To: arvidjaar@gmail.com, phcoder@gmail.com, grub-devel@gnu.org Subject: multiboot2 structs and packed attribute Message-ID: <20160307133452.GC3500@olila.local.net-space.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2016 13:35:15 -0000 Hi, Does anybody know why only multiboot2 multiboot_mmap_entry struct has packed attribute? Is it by design or by mistake? I think that we should use packed attribute for every multiboot2 protocol related struct. If not then we should probably remove this attribute from multiboot_mmap_entry struct too. What do you think about that? Daniel