qtest: fix qpci_config_writel
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 8 May 2014 08:54:33 +0000 (10:54 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 2 Jun 2014 14:28:59 +0000 (16:28 +0200)
Found by Paolo.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
tests/libqos/pci.c

index 7e0907b51413604e764276ceda93e331d1e93b37..c9a0b9134a917fea571d4a5bfbd9d31f0b64b684 100644 (file)
@@ -103,7 +103,7 @@ void qpci_config_writew(QPCIDevice *dev, uint8_t offset, uint16_t value)
 
 void qpci_config_writel(QPCIDevice *dev, uint8_t offset, uint32_t value)
 {
-    dev->bus->config_writew(dev->bus, dev->devfn, offset, value);
+    dev->bus->config_writel(dev->bus, dev->devfn, offset, value);
 }