Commit d6a2d02a authored by Patrick Rudolph's avatar Patrick Rudolph Committed by Ard Biesheuvel
Browse files

efi/cper: Fix cper_arm_ctx_info alignment



According to the UEFI Common Platform Error Record appendix, the
processor context information structure is a variable length structure,
but "is padded with zeros if the size is not a multiple of 16 bytes".

Currently this isn't honoured, causing all but the first structure to
be garbage when printed. Thus align the size to be a multiple of 16.

Signed-off-by: default avatarPatrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 174e5e9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment