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

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