qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hw/pci: Fix typo in PCI hot-plug error message
@ 2020-10-06 13:39 Julia Suvorova
  2020-10-06 13:53 ` Philippe Mathieu-Daudé
  2020-10-12 14:23 ` Laurent Vivier
  0 siblings, 2 replies; 3+ messages in thread
From: Julia Suvorova @ 2020-10-06 13:39 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Julia Suvorova, Michael S. Tsirkin

'occupied' is spelled like 'ocuppied' in the message.

Signed-off-by: Julia Suvorova <jusual@redhat.com>
---
 hw/pci/pci.c       | 2 +-
 hw/ppc/spapr_pci.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/pci/pci.c b/hw/pci/pci.c
index 3c8f10b461..100c9381c2 100644
--- a/hw/pci/pci.c
+++ b/hw/pci/pci.c
@@ -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,
diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c
index 5db912b48c..68e2218fe0 100644
--- a/hw/ppc/spapr_pci.c
+++ b/hw/ppc/spapr_pci.c
@@ -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;
-- 
2.25.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] hw/pci: Fix typo in PCI hot-plug error message
  2020-10-06 13:39 [PATCH] hw/pci: Fix typo in PCI hot-plug error message Julia Suvorova
@ 2020-10-06 13:53 ` Philippe Mathieu-Daudé
  2020-10-12 14:23 ` Laurent Vivier
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-10-06 13:53 UTC (permalink / raw)
  To: Julia Suvorova, qemu-devel; +Cc: qemu-trivial, Michael S. Tsirkin

On 10/6/20 3:39 PM, Julia Suvorova wrote:
> 'occupied' is spelled like 'ocuppied' in the message.
> 
> Signed-off-by: Julia Suvorova <jusual@redhat.com>
> ---
>  hw/pci/pci.c       | 2 +-
>  hw/ppc/spapr_pci.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] hw/pci: Fix typo in PCI hot-plug error message
  2020-10-06 13:39 [PATCH] hw/pci: Fix typo in PCI hot-plug error message Julia Suvorova
  2020-10-06 13:53 ` Philippe Mathieu-Daudé
@ 2020-10-12 14:23 ` Laurent Vivier
  1 sibling, 0 replies; 3+ messages in thread
From: Laurent Vivier @ 2020-10-12 14:23 UTC (permalink / raw)
  To: Julia Suvorova, qemu-devel; +Cc: qemu-trivial, Michael S. Tsirkin

Le 06/10/2020 à 15:39, Julia Suvorova a écrit :
> 'occupied' is spelled like 'ocuppied' in the message.
> 
> Signed-off-by: Julia Suvorova <jusual@redhat.com>
> ---
>  hw/pci/pci.c       | 2 +-
>  hw/ppc/spapr_pci.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/hw/pci/pci.c b/hw/pci/pci.c
> index 3c8f10b461..100c9381c2 100644
> --- a/hw/pci/pci.c
> +++ b/hw/pci/pci.c
> @@ -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,
> diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c
> index 5db912b48c..68e2218fe0 100644
> --- a/hw/ppc/spapr_pci.c
> +++ b/hw/ppc/spapr_pci.c
> @@ -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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-12 14:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-06 13:39 [PATCH] hw/pci: Fix typo in PCI hot-plug error message Julia Suvorova
2020-10-06 13:53 ` Philippe Mathieu-Daudé
2020-10-12 14:23 ` Laurent Vivier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).