|
|
a85e8e |
From 5cebfafb919ac5496ab9df734c8f33a6dc688a21 Mon Sep 17 00:00:00 2001
|
|
|
a85e8e |
From: Peter Jones <pjones@redhat.com>
|
|
|
a85e8e |
Date: Tue, 12 Jul 2016 10:23:42 -0400
|
|
|
a85e8e |
Subject: [PATCH 208/260] Fix another coverity gripe about a missing typecast.
|
|
|
a85e8e |
|
|
|
a85e8e |
Related: rhbz#1154226
|
|
|
a85e8e |
|
|
|
a85e8e |
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
|
a85e8e |
---
|
|
|
a85e8e |
grub-core/net/drivers/efi/efinet.c | 7 +++----
|
|
|
a85e8e |
1 file changed, 3 insertions(+), 4 deletions(-)
|
|
|
a85e8e |
|
|
|
a85e8e |
diff --git a/grub-core/net/drivers/efi/efinet.c b/grub-core/net/drivers/efi/efinet.c
|
|
|
a85e8e |
index 2244f1403..69b0fc7a8 100644
|
|
|
a85e8e |
--- a/grub-core/net/drivers/efi/efinet.c
|
|
|
a85e8e |
+++ b/grub-core/net/drivers/efi/efinet.c
|
|
|
a85e8e |
@@ -415,10 +415,9 @@ grub_efi_net_config_real (grub_efi_handle_t hnd, char **device,
|
|
|
a85e8e |
card->efi_net->mode->current_address,
|
|
|
a85e8e |
sizeof (hwaddr.mac));
|
|
|
a85e8e |
|
|
|
a85e8e |
- intf = grub_net_configure_by_dhcpv6_ack (card->name, card, 0,
|
|
|
a85e8e |
- &hwaddr,
|
|
|
a85e8e |
- &pxe_mode->dhcp_ack.dhcpv6,
|
|
|
a85e8e |
- 1, device, path);
|
|
|
a85e8e |
+ intf = grub_net_configure_by_dhcpv6_ack (card->name, card, 0, &hwaddr,
|
|
|
a85e8e |
+ (const struct grub_net_dhcpv6_packet *)&pxe_mode->dhcp_ack.dhcpv6,
|
|
|
a85e8e |
+ 1, device, path);
|
|
|
a85e8e |
if (intf && device && path)
|
|
|
a85e8e |
grub_dprintf ("efinet", "device: `%s' path: `%s'\n", *device, *path);
|
|
|
a85e8e |
}
|
|
|
a85e8e |
--
|
|
|
a85e8e |
2.13.0
|
|
|
a85e8e |
|