Message ID | 20200426204229.119093-6-marcelo.cerri@canonical.com |
---|---|
State | New |
Headers | show |
Series | [bionic:linux-azure-4.15,1/5] Revert "Revert "PCI: hv: Make sure the bus domain is really unique"" | expand |
diff --git a/drivers/pci/host/pci-hyperv.c b/drivers/pci/host/pci-hyperv.c index c414255d2ae6..81da709aa757 100644 --- a/drivers/pci/host/pci-hyperv.c +++ b/drivers/pci/host/pci-hyperv.c @@ -2632,7 +2632,7 @@ static int hv_pci_probe(struct hv_device *hdev, * (2) There will be no overlap between domains (after fixing possible * collisions) in the same VM. */ - dom_req = hdev->dev_instance.b[8] << 8 | hdev->dev_instance.b[9]; + dom_req = hdev->dev_instance.b[5] << 8 | hdev->dev_instance.b[4]; dom = hv_get_dom_num(dom_req); if (dom == HVPCI_DOM_INVALID) {