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>
This commit is contained in:
Ilpo Järvinen 2024-02-08 14:09:59 +02:00 committed by Thomas Bogendoerfer
parent 923cfd0813
commit 3c35da51f7
1 changed files with 1 additions and 1 deletions

View File

@ -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) {