[PATCH xserver 2/4] xfree86: Fix printing of PCI domain/bus in xf86MatchPciInstances
Michel Dänzer
michel at daenzer.net
Mon Jun 19 10:05:30 UTC 2017
From: Michel Dänzer <michel.daenzer at amd.com>
It was attempting to use the <bus>@<domain> format accepted by the BusID
stanza, but the two values were swapped.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
hw/xfree86/common/xf86pciBus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c
index ed82744b4..9d3447cdf 100644
--- a/hw/xfree86/common/xf86pciBus.c
+++ b/hw/xfree86/common/xf86pciBus.c
@@ -859,7 +859,7 @@ xf86MatchPciInstances(const char *driverName, int vendorID,
if (xf86CheckPciSlot(pPci) && pciDeviceHasBars(pPci)) {
xf86MsgVerb(X_WARNING, 0, "%s: No matching Device section "
"for instance (BusID PCI:%u@%u:%u:%u) found\n",
- driverName, pPci->domain, pPci->bus, pPci->dev,
+ driverName, pPci->bus, pPci->domain, pPci->dev,
pPci->func);
}
}
--
2.11.0
More information about the xorg-devel
mailing list