Blame SOURCES/0204-Fix-compiler-warning-1154226.patch

27a4da
From 3b0de305e13b88007b1e414f656ef8de02e92e1f Mon Sep 17 00:00:00 2001
23d2ea
From: Robert Marshall <rmarshall@redhat.com>
23d2ea
Date: Thu, 7 Jul 2016 16:30:32 -0400
27a4da
Subject: [PATCH 204/260] Fix compiler warning (#1154226)
23d2ea
23d2ea
Coverity threw a compiler warning for an incompatible pointer type when
23d2ea
referencing a union. Converted the argument to pass the exact member of the
23d2ea
union instead of just the union itself.
23d2ea
23d2ea
Related: rhbz#1154226
23d2ea
---
23d2ea
 grub-core/net/drivers/efi/efinet.c | 2 +-
23d2ea
 1 file changed, 1 insertion(+), 1 deletion(-)
23d2ea
23d2ea
diff --git a/grub-core/net/drivers/efi/efinet.c b/grub-core/net/drivers/efi/efinet.c
27a4da
index d7befb2ba..ed103df7a 100644
23d2ea
--- a/grub-core/net/drivers/efi/efinet.c
23d2ea
+++ b/grub-core/net/drivers/efi/efinet.c
27a4da
@@ -415,7 +415,7 @@ grub_efi_net_config_real (grub_efi_handle_t hnd, char **device,
23d2ea
 		     sizeof (hwaddr.mac));
23d2ea
 
23d2ea
 	grub_net_configure_by_dhcpv6_ack (card->name, card, 0,
23d2ea
-					  &hwaddr, &pxe_mode->dhcp_ack,
23d2ea
+					  &hwaddr, &pxe_mode->dhcp_ack.dhcpv6,
23d2ea
 					  1, device, path);
23d2ea
 	grub_dprintf ("efinet", "device: `%s' path: `%s'\n", *device, *path);
23d2ea
       }
23d2ea
-- 
27a4da
2.13.0
23d2ea