[oe-commits] [openembedded-core] 08/09: grub: Enhance Waddress-of-packed-member patch to cover x86_64 testcase
git at git.openembedded.org
git at git.openembedded.org
Sun Mar 3 15:44:30 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 69d09a692d7ba5ddd7d8a3c412073c8f45038a7a
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sat Mar 2 16:38:33 2019 -0800
grub: Enhance Waddress-of-packed-member patch to cover x86_64 testcase
This was not compiled for x86_64 when previously testing aarch64
so some tests were missed.
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
.../grub/files/disable-address-of-packed-member.patch | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch b/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch
index 4af6a59..415f52e 100644
--- a/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch
+++ b/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch
@@ -247,3 +247,16 @@ Signed-off-by: Khem Raj <raj.khem at gmail.com>
static grub_dl_t my_mod;
+--- a/grub-core/commands/usbtest.c
++++ b/grub-core/commands/usbtest.c
+@@ -63,6 +63,10 @@ static const char *usb_devspeed[] =
+ "High"
+ };
+
++#if __GNUC__ >= 9
++#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
++#endif
++
+ static grub_usb_err_t
+ grub_usb_get_string (grub_usb_device_t dev, grub_uint8_t index, int langid,
+ char **string)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list