Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ilpo Järvinen and committed by
Thomas Bogendoerfer
3c35da51 923cfd08

+1 -1
+1 -1
arch/mips/pci/ops-tx4927.c
··· 144 144 145 145 ret = mkaddr(bus, devfn, where, pcicptr); 146 146 if (ret != PCIBIOS_SUCCESSFUL) { 147 - *val = 0xffffffff; 147 + PCI_SET_ERROR_RESPONSE(val); 148 148 return ret; 149 149 } 150 150 switch (size) {