]> Git Repo - qemu.git/commitdiff
hw/pci: Fix typo in PCI hot-plug error message
authorJulia Suvorova <[email protected]>
Tue, 6 Oct 2020 13:39:58 +0000 (15:39 +0200)
committerLaurent Vivier <[email protected]>
Tue, 13 Oct 2020 11:33:45 +0000 (13:33 +0200)
'occupied' is spelled like 'ocuppied' in the message.

Signed-off-by: Julia Suvorova <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20201006133958[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
hw/pci/pci.c
hw/ppc/spapr_pci.c

index 3c8f10b4618ad5ac181ca96acbfa7b3ef57db7e5..100c9381c2f1d24b3a544bcf44488cf8375de2ca 100644 (file)
@@ -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,
index 3999392b32c612441681a5137b27d625a22d5033..88ce87f130a51048731cc3a12fbb98c5fd94a77a 100644 (file)
@@ -1571,7 +1571,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;
This page took 0.035929 seconds and 4 git commands to generate.