hw/pci: Fix typo in PCI hot-plug error message
PATCH 1/1 hw/pci: Fix typo in PCI hot-plug error message
'occupied' is spelled like 'ocuppied' in the message.
Signed-off-by Julia Suvorova <[email protected]>
--- hw/pci/pci.c | 2 +- hw/ppc/spapr_pci.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
hw/pci/pci.c +1 -1
@@ -1036,7 +1036,7 @@ static PCIDevice *do_pci_register_device(PCIDevice *pci_dev,return NULL ; }else if (dev->hotplugged &&pci_get_function_0 (pci_dev)) { - error_setg(errp, "PCI: slot %d function 0 already ocuppied by %s," + error_setg(errp, "PCI: slot %d function 0 already occupied by %s," " new func %s cannot be exposed to guest.", PCI_SLOT(pci_get_function_0(pci_dev)->devfn), pci_get_function_0(pci_dev)->name,
hw/ppc/spapr_pci.c +1 -1
@@ -1572,7 +1572,7 @@ static void spapr_pci_plug(HotplugHandler *plug_handler,*/ if (plugged_dev->hotplugged && bus->devices[PCI_DEVFN (slotnr,0 )] &&PCI_FUNC (pdev->devfn) !=0 ) { -error_setg (errp,"PCI: slot %d function 0 already ocuppied by %s," +error_setg (errp,"PCI: slot %d function 0 already occupied by %s," " additional functions can no longer be exposed to guest." , slotnr, bus->devices[PCI_DEVFN (slotnr,0 )]->name);return ;
Signature · 1 line
2.25.4
Quoted 7 lines · Julia Suvorova
'occupied' is spelled like 'ocuppied' in the message.
Signed-off-by Julia Suvorova <[email protected]>--- hw/pci/pci.c | 2 +- hw/ppc/spapr_pci.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Laurent Vivier
AppliedLe 06/10/2020 à 15:39, Julia Suvorova a écrit :
Quoted 27 lines
'occupied' is spelled like 'ocuppied' in the message.
Signed-off-by Julia Suvorova <[email protected]>--- hw/pci/pci.c | 2 +- hw/ppc/spapr_pci.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)hw/pci/pci.c +1
-1@@ -1036,7 +1036,7 @@ static PCIDevice *do_pci_register_device(PCIDevice *pci_dev,return NULL ; }else if (dev->hotplugged &&pci_get_function_0 (pci_dev)) { - error_setg(errp, "PCI: slot %d function 0 already ocuppied by %s," + error_setg(errp, "PCI: slot %d function 0 already occupied by %s," " new func %s cannot be exposed to guest.", PCI_SLOT(pci_get_function_0(pci_dev)->devfn), pci_get_function_0(pci_dev)->name,hw/ppc/spapr_pci.c +0
-0
hw/ppc/spapr_pci.c static void spapr_pci_plug(HotplugHandler *plug_handler, · line 1578
Quoted 8 lines
hw/ppc/spapr_pci.c +1
-1@@ -1572,7 +1572,7 @@ static void spapr_pci_plug(HotplugHandler *plug_handler,*/ if (plugged_dev->hotplugged && bus->devices[PCI_DEVFN (slotnr,0 )] &&PCI_FUNC (pdev->devfn) !=0 ) { -error_setg (errp,"PCI: slot %d function 0 already ocuppied by %s," +error_setg (errp,"PCI: slot %d function 0 already occupied by %s," " additional functions can no longer be exposed to guest." , slotnr, bus->devices[PCI_DEVFN (slotnr,0 )]->name);return ;
Applied to my trivial-patches branch.
Thanks,
Laurent