|
|
5593c8 |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
5593c8 |
From: Peter Jones <pjones@redhat.com>
|
|
|
5593c8 |
Date: Thu, 10 May 2018 13:40:19 -0400
|
|
|
5593c8 |
Subject: [PATCH] Fixup for newer compiler
|
|
|
5593c8 |
|
|
|
5593c8 |
---
|
|
|
5593c8 |
grub-core/fs/btrfs.c | 2 +-
|
|
|
5593c8 |
include/grub/gpt_partition.h | 2 +-
|
|
|
5593c8 |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
5593c8 |
|
|
|
5593c8 |
diff --git a/grub-core/fs/btrfs.c b/grub-core/fs/btrfs.c
|
|
|
fd0330 |
index 2b21cbaa67..4cc86e9b79 100644
|
|
|
5593c8 |
--- a/grub-core/fs/btrfs.c
|
|
|
5593c8 |
+++ b/grub-core/fs/btrfs.c
|
|
|
5593c8 |
@@ -218,7 +218,7 @@ struct grub_btrfs_inode
|
|
|
5593c8 |
grub_uint64_t size;
|
|
|
5593c8 |
grub_uint8_t dummy2[0x70];
|
|
|
5593c8 |
struct grub_btrfs_time mtime;
|
|
|
5593c8 |
-} GRUB_PACKED;
|
|
|
5593c8 |
+} GRUB_PACKED __attribute__ ((aligned(8)));
|
|
|
5593c8 |
|
|
|
5593c8 |
struct grub_btrfs_extent_data
|
|
|
5593c8 |
{
|
|
|
5593c8 |
diff --git a/include/grub/gpt_partition.h b/include/grub/gpt_partition.h
|
|
|
fd0330 |
index 7a93f43291..8212697bf6 100644
|
|
|
5593c8 |
--- a/include/grub/gpt_partition.h
|
|
|
5593c8 |
+++ b/include/grub/gpt_partition.h
|
|
|
5593c8 |
@@ -76,7 +76,7 @@ struct grub_gpt_partentry
|
|
|
5593c8 |
grub_uint64_t end;
|
|
|
5593c8 |
grub_uint64_t attrib;
|
|
|
5593c8 |
char name[72];
|
|
|
5593c8 |
-} GRUB_PACKED;
|
|
|
5593c8 |
+} GRUB_PACKED __attribute__ ((aligned(8)));
|
|
|
5593c8 |
|
|
|
5593c8 |
grub_err_t
|
|
|
5593c8 |
grub_gpt_partition_map_iterate (grub_disk_t disk,
|