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