summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-02-08 14:09:59 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-02-20 13:36:35 +0100
commit3c35da51f77e45f345b229df4b3adebad82ce4ef (patch)
treea6526979d700209d19c514d2a031330338e89422
parent923cfd0813377e809b91694f3f05a8c04c55517c (diff)
downloadlinux-3c35da51f77e45f345b229df4b3adebad82ce4ef.tar.gz
linux-3c35da51f77e45f345b229df4b3adebad82ce4ef.tar.bz2
linux-3c35da51f77e45f345b229df4b3adebad82ce4ef.zip
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 <ilpo.jarvinen@linux.intel.com> Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmal.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
-rw-r--r--arch/mips/pci/ops-tx4927.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/ops-tx4927.c b/arch/mips/pci/ops-tx4927.c
index 670efbc5c585..37087f4137ee 100644
--- a/arch/mips/pci/ops-tx4927.c
+++ b/arch/mips/pci/ops-tx4927.c
@@ -144,7 +144,7 @@ static int tx4927_pci_config_read(struct pci_bus *bus, unsigned int devfn,
ret = mkaddr(bus, devfn, where, pcicptr);
if (ret != PCIBIOS_SUCCESSFUL) {
- *val = 0xffffffff;
+ PCI_SET_ERROR_RESPONSE(val);
return ret;
}
switch (size) {