2017-06-16 19:31:32 +00:00
|
|
|
From 284afab081ef7ed7db2c59151853aa3c92d988f2 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
|
Date: Sun, 9 Jul 2017 21:31:19 +0200
|
2018-03-16 19:23:37 +00:00
|
|
|
Subject: [PATCH 046/216] ehci: Fix compilation on i386
|
2017-06-16 19:31:32 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
grub-core/bus/usb/ehci.c | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/grub-core/bus/usb/ehci.c b/grub-core/bus/usb/ehci.c
|
2018-02-27 18:56:41 +00:00
|
|
|
index 7b7061f5335..d966fc21002 100644
|
2017-06-16 19:31:32 +00:00
|
|
|
--- a/grub-core/bus/usb/ehci.c
|
|
|
|
+++ b/grub-core/bus/usb/ehci.c
|
|
|
|
@@ -505,7 +505,7 @@ grub_ehci_init_device (volatile void *regs)
|
|
|
|
|
|
|
|
grub_dprintf ("ehci",
|
|
|
|
"EHCI grub_ehci_pci_iter: iobase of oper. regs: %08llxx\n",
|
|
|
|
- (unsigned long long) e->iobase_ehcc + caplen);
|
|
|
|
+ (unsigned long long) (grub_addr_t) e->iobase_ehcc + caplen);
|
|
|
|
grub_dprintf ("ehci", "EHCI grub_ehci_pci_iter: COMMAND: %08x\n",
|
|
|
|
grub_ehci_oper_read32 (e, GRUB_EHCI_COMMAND));
|
|
|
|
grub_dprintf ("ehci", "EHCI grub_ehci_pci_iter: STATUS: %08x\n",
|
|
|
|
@@ -697,7 +697,7 @@ grub_ehci_init_device (volatile void *regs)
|
|
|
|
|
|
|
|
grub_dprintf ("ehci",
|
|
|
|
"EHCI grub_ehci_pci_iter: iobase of oper. regs: %08llx\n",
|
|
|
|
- (unsigned long long) regs);
|
|
|
|
+ (unsigned long long) (grub_addr_t) regs);
|
|
|
|
grub_dprintf ("ehci", "EHCI grub_ehci_pci_iter: COMMAND: %08x\n",
|
|
|
|
grub_ehci_oper_read32 (e, GRUB_EHCI_COMMAND));
|
|
|
|
grub_dprintf ("ehci", "EHCI grub_ehci_pci_iter: STATUS: %08x\n",
|
|
|
|
--
|
2018-02-27 18:56:41 +00:00
|
|
|
2.15.0
|
2017-06-16 19:31:32 +00:00
|
|
|
|