Message ID | 20191016202831.7258-3-marcelo.cerri@canonical.com |
---|---|
State | New |
Headers | show |
Series | [disco:linux-azure] PCI: hv: Use bytes 4 and 5 from instance ID as the PCI domain numbers | expand |
diff --git a/drivers/pci/controller/pci-hyperv.c b/drivers/pci/controller/pci-hyperv.c index 3bd94149b9d2..36b3c85f6574 100644 --- a/drivers/pci/controller/pci-hyperv.c +++ b/drivers/pci/controller/pci-hyperv.c @@ -2559,8 +2559,8 @@ static int hv_pci_probe(struct hv_device *hdev, * between domains derived from these instance IDs in the same * VM. */ - hbus->sysdata.domain = hdev->dev_instance.b[9] | - hdev->dev_instance.b[8] << 8; + hbus->sysdata.domain = hdev->dev_instance.b[4] | + hdev->dev_instance.b[5] << 8; hbus->hdev = hdev; refcount_set(&hbus->remove_lock, 1);