efi/gop: Remove bogus packed attribute from GOP structures
authorArvind Sankar <nivedita@alum.mit.edu>
Tue, 24 Dec 2019 15:10:01 +0000 (16:10 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 25 Dec 2019 09:49:13 +0000 (10:49 +0100)
commit8d62af1778125bd674cc66e8432305cc6aac5d89
tree6efdd755adcc9eb6f9c51e44c1451fc31a2c6553
parent4911ee401b7ceff8f38e0ac597cbf503d71e690c
efi/gop: Remove bogus packed attribute from GOP structures

EFI structures are not packed, they follow natural alignment.

The packed attribute doesn't have any effect on the structure layout due
to the types and order of the members, and we only ever get these
structures as output from the EFI firmware so alignment issues have not
come up.

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: James Morse <james.morse@arm.com>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: https://lkml.kernel.org/r/20191224151025.32482-2-ardb@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/efi.h