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