From 3a4ad7847f982f567ae7b4ed8971d412926f8722 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 13 Aug 2023 09:17:22 +0200 Subject: [PATCH 2/6] gpt: Mark grub_gpt_partentry as aligned to 8 bytes Signed-off-by: Vladimir Serbinenko --- include/grub/gpt_partition.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/grub/gpt_partition.h b/include/grub/gpt_partition.h index 020e71920..e271ea9fa 100644 --- a/include/grub/gpt_partition.h +++ b/include/grub/gpt_partition.h @@ -67,7 +67,7 @@ struct grub_gpt_partentry grub_uint64_t end; grub_uint64_t attrib; char name[72]; -} GRUB_PACKED; +} __attribute__((aligned(8))); grub_err_t grub_gpt_partition_map_iterate (grub_disk_t disk, -- 2.41.0