linux-stable/drivers/pci/controller
Naveen Naidu 7dcd026fb7 PCI: kirin: Drop error data fabrication when config read fails
If config pci_ops.read() methods return failure, the PCI_OP_READ() and
PCI_USER_READ_CONFIG() wrappers use PCI_SET_ERROR_RESPONSE() to set the
data value, so there's no need to set it in the pci_ops.read() methods
themselves.

Drop the unnecessary data value fabrication when pci_ops.read() fails.

Link: https://lore.kernel.org/r/f87e22bc09a471d2cf15ad05dfd6432f57739aed.1637243717.git.naveennaidu479@gmail.com
Signed-off-by: Naveen Naidu <naveennaidu479@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2021-11-18 13:40:39 -06:00
..
cadence PCI: cadence: Add cdns_plat_pcie_probe() missing return 2021-11-03 15:37:05 -05:00
dwc PCI: kirin: Drop error data fabrication when config read fails 2021-11-18 13:40:39 -06:00
mobiveil PCI: Bulk conversion to generic_handle_domain_irq() 2021-08-02 11:53:05 -05:00
Kconfig - Config updates for BMIPS platform 2021-11-13 09:11:33 -08:00
Makefile Merge branch 'pci/host/mt7621' 2021-11-05 11:28:51 -05:00
pci-aardvark.c PCI: aardvark: Fix support for PCI_ROM_ADDRESS1 on emulated bridge 2021-10-29 10:25:31 +01:00
pci-ftpci100.c PCI: Bulk conversion to generic_handle_domain_irq() 2021-08-02 11:53:05 -05:00
pci-host-common.c
pci-host-generic.c
pci-hyperv-intf.c
pci-hyperv.c pci-v5.16-changes 2021-11-06 14:36:12 -07:00
pci-ixp4xx.c ARM: ixp4xx: fix building both pci drivers 2021-08-12 23:10:09 +02:00
pci-loongson.c
pci-mvebu.c
pci-rcar-gen2.c
pci-tegra.c Merge branch 'remotes/lorenzo/pci/tegra' 2021-09-02 14:56:50 -05:00
pci-thunder-ecam.c PCI: thunder: Drop error data fabrication when config read fails 2021-11-18 13:39:32 -06:00
pci-thunder-pem.c PCI: thunder: Drop error data fabrication when config read fails 2021-11-18 13:39:32 -06:00
pci-v3-semi.c
pci-versatile.c
pci-xgene-msi.c PCI: Correct misspelled and remove duplicated words 2021-10-08 17:14:04 -05:00
pci-xgene.c PCI: xgene: Use PCI_VENDOR_ID_AMCC macro 2021-09-30 10:44:37 +01:00
pcie-altera-msi.c PCI: Bulk conversion to generic_handle_domain_irq() 2021-08-02 11:53:05 -05:00
pcie-altera.c PCI: Bulk conversion to generic_handle_domain_irq() 2021-08-02 11:53:05 -05:00
pcie-apple.c PCI: apple: Configure RID to SID mapper on device addition 2021-11-04 16:29:31 -05:00
pcie-brcmstb.c PCI: Correct misspelled and remove duplicated words 2021-10-08 17:14:04 -05:00
pcie-hisi-error.c
pcie-iproc-bcma.c PCI: iproc: Fix BCMA probe resource handling 2021-08-04 12:20:00 +01:00
pcie-iproc-msi.c PCI: Bulk conversion to generic_handle_domain_irq() 2021-08-02 11:53:05 -05:00
pcie-iproc-platform.c
pcie-iproc.c PCI: iproc: Drop error data fabrication when config read fails 2021-11-18 13:39:52 -06:00
pcie-iproc.h
pcie-mediatek-gen3.c PCI: Bulk conversion to generic_handle_domain_irq() 2021-08-02 11:53:05 -05:00
pcie-mediatek.c PCI: mediatek: Drop error data fabrication when config read fails 2021-11-18 13:40:06 -06:00
pcie-microchip-host.c PCI: Bulk conversion to generic_handle_domain_irq() 2021-08-02 11:53:05 -05:00
pcie-mt7621.c pci-v5.16-changes 2021-11-06 14:36:12 -07:00
pcie-rcar-ep.c PCI: rcar-ep: Remove unneeded includes 2021-10-08 09:41:38 -05:00
pcie-rcar-host.c PCI: rcar-host: Remove unneeded includes 2021-10-08 09:43:38 -05:00
pcie-rcar.c
pcie-rcar.h PCI: rcar: Add L1 link state fix into data abort hook 2021-08-16 14:51:30 +01:00
pcie-rockchip-ep.c PCI: endpoint: Add virtual function number in pci_epc ops 2021-08-19 14:13:28 +01:00
pcie-rockchip-host.c PCI: Bulk conversion to generic_handle_domain_irq() 2021-08-02 11:53:05 -05:00
pcie-rockchip.c
pcie-rockchip.h
pcie-xilinx-cpm.c PCI: Bulk conversion to generic_handle_domain_irq() 2021-08-02 11:53:05 -05:00
pcie-xilinx-nwl.c Merge branch 'remotes/lorenzo/pci/xilinx-nwl' 2021-09-02 14:56:51 -05:00
pcie-xilinx.c PCI: Bulk conversion to generic_handle_domain_irq() 2021-08-02 11:53:05 -05:00
vmd.c Merge branch 'remotes/lorenzo/pci/vmd' 2021-11-05 11:28:53 -05:00