mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 14:32:58 +00:00
1f092caba7
Add comments and revert logic changes in 01_fallback_counting Remove quotes when reading ID value from /etc/os-release Related: rhbz#1650706 blscfg: expand grub_users before passing to grub_normal_add_menu_entry() Resolves: rhbz#1650706 Drop buggy downstream patch "efinet: retransmit if our device is busy" Resolves: rhbz#1649048 Make the menu entry users option argument to be optional Related: rhbz#1652434 10_linux_bls: add missing menu entries options Resolves: rhbz#1652434 Drop "Be more aggro about actually using the *configured* network device." Resolves: rhbz#1654388 Fix menu entry selection based on title Resolves: rhbz#1654936 Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Peter Jones <pjones@redhat.com>
|
|
Date: Thu, 10 May 2018 13:40:19 -0400
|
|
Subject: [PATCH] Fixup for newer compiler
|
|
|
|
---
|
|
grub-core/fs/btrfs.c | 2 +-
|
|
include/grub/gpt_partition.h | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/grub-core/fs/btrfs.c b/grub-core/fs/btrfs.c
|
|
index 7002ad81b7e..dac73b2fa8b 100644
|
|
--- a/grub-core/fs/btrfs.c
|
|
+++ b/grub-core/fs/btrfs.c
|
|
@@ -198,7 +198,7 @@ struct grub_btrfs_inode
|
|
grub_uint64_t size;
|
|
grub_uint8_t dummy2[0x70];
|
|
struct grub_btrfs_time mtime;
|
|
-} GRUB_PACKED;
|
|
+} GRUB_PACKED __attribute__ ((aligned(8)));
|
|
|
|
struct grub_btrfs_extent_data
|
|
{
|
|
diff --git a/include/grub/gpt_partition.h b/include/grub/gpt_partition.h
|
|
index 7a93f43291c..8212697bf6b 100644
|
|
--- a/include/grub/gpt_partition.h
|
|
+++ b/include/grub/gpt_partition.h
|
|
@@ -76,7 +76,7 @@ struct grub_gpt_partentry
|
|
grub_uint64_t end;
|
|
grub_uint64_t attrib;
|
|
char name[72];
|
|
-} GRUB_PACKED;
|
|
+} GRUB_PACKED __attribute__ ((aligned(8)));
|
|
|
|
grub_err_t
|
|
grub_gpt_partition_map_iterate (grub_disk_t disk,
|