diff mbox series

[11/41] versatile: Fix typo in PCI_VPB_HOST definition

Message ID 20200813222625.243136-12-ehabkost@redhat.com
State New
Headers show
Series qom: Automated conversion of type checking boilerplate | expand

Commit Message

Eduardo Habkost Aug. 13, 2020, 10:25 p.m. UTC
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 hw/pci-host/versatile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Philippe Mathieu-Daudé Aug. 14, 2020, 5:59 p.m. UTC | #1
On 8/14/20 12:25 AM, Eduardo Habkost wrote:
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
>  hw/pci-host/versatile.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/pci-host/versatile.c b/hw/pci-host/versatile.c
> index 616882a80d..7e4aa467a2 100644
> --- a/hw/pci-host/versatile.c
> +++ b/hw/pci-host/versatile.c
> @@ -161,7 +161,7 @@ static const VMStateDescription pci_vpb_vmstate = {
>  
>  #define TYPE_VERSATILE_PCI_HOST "versatile_pci_host"
>  #define PCI_VPB_HOST(obj) \
> -    OBJECT_CHECK(PCIDevice, (obj), TYPE_VERSATILE_PCIHOST)
> +    OBJECT_CHECK(PCIDevice, (obj), TYPE_VERSATILE_PCI_HOST)

Uh, since cd93dbf375 ("versatile_pci: Update to realize and instance
init functions") 7 years ago...

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

>  
>  typedef enum {
>      PCI_IMAP0 = 0x0,
>
Daniel P. Berrangé Aug. 17, 2020, 3:56 p.m. UTC | #2
On Thu, Aug 13, 2020 at 06:25:55PM -0400, Eduardo Habkost wrote:
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
>  hw/pci-host/versatile.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


Regards,
Daniel
diff mbox series

Patch

diff --git a/hw/pci-host/versatile.c b/hw/pci-host/versatile.c
index 616882a80d..7e4aa467a2 100644
--- a/hw/pci-host/versatile.c
+++ b/hw/pci-host/versatile.c
@@ -161,7 +161,7 @@  static const VMStateDescription pci_vpb_vmstate = {
 
 #define TYPE_VERSATILE_PCI_HOST "versatile_pci_host"
 #define PCI_VPB_HOST(obj) \
-    OBJECT_CHECK(PCIDevice, (obj), TYPE_VERSATILE_PCIHOST)
+    OBJECT_CHECK(PCIDevice, (obj), TYPE_VERSATILE_PCI_HOST)
 
 typedef enum {
     PCI_IMAP0 = 0x0,