acpi: fix typo in memory hotplug MMIO region name
PATCH 1/1 acpi: fix typo in memory hotplug MMIO region name
Reported-by Sergey Fionov <[email protected]>
Signed-off-by Igor Mammedov <[email protected]>
--- hw/acpi/memory_hotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/acpi/memory_hotplug.c +1 -1
@@ -159,7 +159,7 @@ void acpi_memory_hotplug_init(MemoryRegion *as, Object *owner, state->devs =g_malloc0 (sizeof (*state->devs) * state->dev_count);memory_region_init_io (&state->io, owner, &acpi_memory_hotplug_ops, state, -"apci-mem-hotplug" ,ACPI_MEMORY_HOTPLUG_IO_LEN ); +"acpi-mem-hotplug" ,ACPI_MEMORY_HOTPLUG_IO_LEN );memory_region_add_subregion (as,ACPI_MEMORY_HOTPLUG_BASE , &state->io); }
Signature · 1 line
1.9.3
Quoted 2 lines · Igor Mammedov
Reported-by Sergey Fionov <[email protected]>Signed-off-by Igor Mammedov <[email protected]>
Reviewed-by Peter Crosthwaite <[email protected]>
Quoted 21 lines
--- hw/acpi/memory_hotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/acpi/memory_hotplug.c +1
-2@@ -159,7 +159,7 @@ void acpi_memory_hotplug_init(MemoryRegion *as, Object *owner, state->devs =g_malloc0 (sizeof (*state->devs) * state->dev_count);memory_region_init_io (&state->io, owner, &acpi_memory_hotplug_ops, state, -"apci-mem-hotplug" ,ACPI_MEMORY_HOTPLUG_IO_LEN ); +"acpi-mem-hotplug" ,ACPI_MEMORY_HOTPLUG_IO_LEN );memory_region_add_subregion (as,ACPI_MEMORY_HOTPLUG_BASE , &state->io); } --1.9.3