qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5883] hw/ppc4xx_pci.c: kill two warnings
@ 2008-12-05 16:05 Aurelien Jarno
  0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2008-12-05 16:05 UTC (permalink / raw)
  To: qemu-devel

Revision: 5883
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5883
Author:   aurel32
Date:     2008-12-05 16:05:32 +0000 (Fri, 05 Dec 2008)

Log Message:
-----------
hw/ppc4xx_pci.c: kill two warnings

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

Modified Paths:
--------------
    trunk/hw/ppc4xx_pci.c

Modified: trunk/hw/ppc4xx_pci.c
===================================================================
--- trunk/hw/ppc4xx_pci.c	2008-12-05 07:21:44 UTC (rev 5882)
+++ trunk/hw/ppc4xx_pci.c	2008-12-05 16:05:32 UTC (rev 5883)
@@ -314,7 +314,7 @@
     PPC4xxPCIState *controller = opaque;
     int i;
 
-    pci_device_save(&controller->pci_dev, f);
+    pci_device_save(controller->pci_dev, f);
 
     for (i = 0; i < PPC4xx_PCI_NR_PMMS; i++) {
         qemu_put_be32s(f, &controller->pmm[i].la);
@@ -337,7 +337,7 @@
     if (version_id != 1)
         return -EINVAL;
 
-    pci_device_load(&controller->pci_dev, f);
+    pci_device_load(controller->pci_dev, f);
 
     for (i = 0; i < PPC4xx_PCI_NR_PMMS; i++) {
         qemu_get_be32s(f, &controller->pmm[i].la);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-05 16:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-05 16:05 [Qemu-devel] [5883] hw/ppc4xx_pci.c: kill two warnings Aurelien Jarno

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).