Patchwork [2/3] fix off-byone in hw/acpi_pci_hotplug.h

login
register
mail settings
Submitter Gerd Hoffmann
Date Jan. 9, 2013, 3:41 p.m.
Message ID <1357746097-23338-3-git-send-email-kraxel@redhat.com>
Download mbox | patch
Permalink /patch/210733/
State New
Headers show

Comments

Gerd Hoffmann - Jan. 9, 2013, 3:41 p.m.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 hw/acpi_pci_hotplug.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/acpi_pci_hotplug.h b/hw/acpi_pci_hotplug.h
index b97403d..220fca8 100644
--- a/hw/acpi_pci_hotplug.h
+++ b/hw/acpi_pci_hotplug.h
@@ -1,5 +1,5 @@ 
 #define PCI_HOTPLUG_ADDR 0xae00
-#define PCI_HOTPLUG_SIZE 0x000f
+#define PCI_HOTPLUG_SIZE 0x0010
 #define PCI_UP_BASE 0xae00
 #define PCI_DOWN_BASE 0xae04
 #define PCI_EJ_BASE 0xae08