efi_loader: struct efi_configuration_table
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 17 Dec 2018 23:06:05 +0000 (00:06 +0100)
committerAlexander Graf <agraf@suse.de>
Wed, 13 Feb 2019 08:40:05 +0000 (09:40 +0100)
commit2859f446b081db62336c32a832af026d37ab00b4
tree82575bfce1b3ba97e684400dbf24dfe02dff1f2d
parent4b05fe9c550ba4941e973c1bc389555d73747ed4
efi_loader: struct efi_configuration_table

Commit 393fccdf6c73 ("efi_loader: efi_guid_t must be 64-bit aligned")
has changed the alignment of efi_guid_t. This changed the size of
struct efi_configuration_table on 32-bit systems form 20 to 24 bytes. As
an array of this type is pointed to by the system table this breaks
compatibility with existing versions of GRUB and Linux. Let's get back the
original size by using the attribute __packed.

Fixes: 393fccdf6c73 ("efi_loader: efi_guid_t must be 64-bit aligned")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_api.h