Skip to content

Commit 3cfdef7

Browse files
Naveenaidubjorn-helgaas
authored andcommitted
PCI: keystone: 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/6ae6b071d92052dc511407513e2a7c0035aff9e7.1637243717.git.naveennaidu479@gmail.com Signed-off-by: Naveen Naidu <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent 289e3ea commit 3cfdef7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/pci/controller/dwc/pci-keystone.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -747,9 +747,9 @@ static int ks_pcie_config_legacy_irq(struct keystone_pcie *ks_pcie)
747747

748748
#ifdef CONFIG_ARM
749749
/*
750-
* When a PCI device does not exist during config cycles, keystone host gets a
751-
* bus error instead of returning 0xffffffff. This handler always returns 0
752-
* for this kind of faults.
750+
* When a PCI device does not exist during config cycles, keystone host
751+
* gets a bus error instead of returning 0xffffffff (PCI_ERROR_RESPONSE).
752+
* This handler always returns 0 for this kind of fault.
753753
*/
754754
static int ks_pcie_fault(unsigned long addr, unsigned int fsr,
755755
struct pt_regs *regs)

0 commit comments

Comments
 (0)