Patchwork pci_bridge: fix typo

login
register
mail settings
Submitter Blue Swirl
Date Oct. 16, 2011, 2:44 p.m.
Message ID <CAAu8pHsH0n5UQQ_Q4Ej3tmC+kxKOKr9CwV1CFSGYrCTRGqyHoQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/120038/
State New
Headers show

Comments

Blue Swirl - Oct. 16, 2011, 2:44 p.m.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
---
 hw/pci_bridge.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Avi Kivity - Oct. 16, 2011, 3:11 p.m.
On 10/16/2011 04:44 PM, Blue Swirl wrote:
> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
> ---
>  hw/pci_bridge.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/hw/pci_bridge.c b/hw/pci_bridge.c
> index b6287cd..650d165 100644
> --- a/hw/pci_bridge.c
> +++ b/hw/pci_bridge.c
> @@ -319,7 +319,7 @@ int pci_bridge_initfn(PCIDevice *dev)
>      sec_bus->parent_dev = dev;
>      sec_bus->map_irq = br->map_irq;
>      sec_bus->address_space_mem = &br->address_space_mem;
> -    memory_region_init(&br->address_space_mem, "pci_pridge_pci", INT64_MAX);
> +    memory_region_init(&br->address_space_mem, "pci_bridge_pci", INT64_MAX);
>      sec_bus->address_space_io = &br->address_space_io;
>      memory_region_init(&br->address_space_io, "pci_bridge_io", 65536);
>      pci_bridge_region_init(br);

Reviewed-by: Avi Kivity <avi@redhat.com>
Blue Swirl - Oct. 23, 2011, 8:03 p.m.
On Sun, Oct 16, 2011 at 15:11, Avi Kivity <avi@redhat.com> wrote:
> On 10/16/2011 04:44 PM, Blue Swirl wrote:
>> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
>> ---
>>  hw/pci_bridge.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/hw/pci_bridge.c b/hw/pci_bridge.c
>> index b6287cd..650d165 100644
>> --- a/hw/pci_bridge.c
>> +++ b/hw/pci_bridge.c
>> @@ -319,7 +319,7 @@ int pci_bridge_initfn(PCIDevice *dev)
>>      sec_bus->parent_dev = dev;
>>      sec_bus->map_irq = br->map_irq;
>>      sec_bus->address_space_mem = &br->address_space_mem;
>> -    memory_region_init(&br->address_space_mem, "pci_pridge_pci", INT64_MAX);
>> +    memory_region_init(&br->address_space_mem, "pci_bridge_pci", INT64_MAX);
>>      sec_bus->address_space_io = &br->address_space_io;
>>      memory_region_init(&br->address_space_io, "pci_bridge_io", 65536);
>>      pci_bridge_region_init(br);
>
> Reviewed-by: Avi Kivity <avi@redhat.com>

Thanks for the review, applied.

Patch

diff --git a/hw/pci_bridge.c b/hw/pci_bridge.c
index b6287cd..650d165 100644
--- a/hw/pci_bridge.c
+++ b/hw/pci_bridge.c
@@ -319,7 +319,7 @@  int pci_bridge_initfn(PCIDevice *dev)
     sec_bus->parent_dev = dev;
     sec_bus->map_irq = br->map_irq;
     sec_bus->address_space_mem = &br->address_space_mem;
-    memory_region_init(&br->address_space_mem, "pci_pridge_pci", INT64_MAX);
+    memory_region_init(&br->address_space_mem, "pci_bridge_pci", INT64_MAX);
     sec_bus->address_space_io = &br->address_space_io;
     memory_region_init(&br->address_space_io, "pci_bridge_io", 65536);
     pci_bridge_region_init(br);