Skip to content

Commit 14e04d0

Browse files
Naveenaidubjorn-helgaas
authored andcommitted
PCI: hv: Use PCI_ERROR_RESPONSE to identify config read errors
Include PCI_ERROR_RESPONSE along with 0xFFFFFFFF in the comment about identifying config read errors. This makes checks for config read errors easier to find. Comment change only. Link: https://lore.kernel.org/r/12124f41cab7d8aa944de05f85d9567bfe157704.1637243717.git.naveennaidu479@gmail.com Signed-off-by: Naveen Naidu <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent 3cfdef7 commit 14e04d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/controller/pci-hyperv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,7 @@ static void prepopulate_bars(struct hv_pcibus_device *hbus)
17741774
* If the memory enable bit is already set, Hyper-V silently ignores
17751775
* the below BAR updates, and the related PCI device driver can not
17761776
* work, because reading from the device register(s) always returns
1777-
* 0xFFFFFFFF.
1777+
* 0xFFFFFFFF (PCI_ERROR_RESPONSE).
17781778
*/
17791779
list_for_each_entry(hpdev, &hbus->children, list_entry) {
17801780
_hv_pcifront_read_config(hpdev, PCI_COMMAND, 2, &command);

0 commit comments

Comments
 (0)