Blame SOURCES/0204-Fix-compiler-warning-1154226.patch
|
|
a85e8e |
From 3b0de305e13b88007b1e414f656ef8de02e92e1f Mon Sep 17 00:00:00 2001
|
|
|
a85e8e |
From: Robert Marshall <rmarshall@redhat.com>
|
|
|
a85e8e |
Date: Thu, 7 Jul 2016 16:30:32 -0400
|
|
|
a85e8e |
Subject: [PATCH 204/260] 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
|
|
|
a85e8e |
index d7befb2ba..ed103df7a 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 |
}
|
|
|
a85e8e |
--
|
|
|
a85e8e |
2.13.0
|
|
|
a85e8e |
|