Skip to content

Commit 3c35da5

Browse files
ij-inteltsbogend
authored andcommitted
MIPS: TXx9: Use PCI_SET_ERROR_RESPONSE()
Instead of literal, PCI error value should be set with PCI_SET_ERROR_RESPONSE(). Use it in tx4927_pci_config_read(). Signed-off-by: Ilpo Järvinen <[email protected]> Reviewed-by: Sergio Paracuellos <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 923cfd0 commit 3c35da5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/pci/ops-tx4927.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ static int tx4927_pci_config_read(struct pci_bus *bus, unsigned int devfn,
144144

145145
ret = mkaddr(bus, devfn, where, pcicptr);
146146
if (ret != PCIBIOS_SUCCESSFUL) {
147-
*val = 0xffffffff;
147+
PCI_SET_ERROR_RESPONSE(val);
148148
return ret;
149149
}
150150
switch (size) {

0 commit comments

Comments
 (0)