aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-4.9/800-Revert-PCI-iproc-Request-host-bridge-window-resource.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-03-10 22:26:04 +0100
committerRafał Miłecki <rafal@milecki.pl>2017-03-10 22:26:20 +0100
commite58ea0a80d320b17aaa040f7d0dcd303987ec63f (patch)
treee3701ec4acec2b8b94ffa4985b75bf591839a6c0 /target/linux/bcm53xx/patches-4.9/800-Revert-PCI-iproc-Request-host-bridge-window-resource.patch
parent0ebc681fe28fe49bf324dd0a810ad700a897991f (diff)
downloadupstream-e58ea0a80d320b17aaa040f7d0dcd303987ec63f.tar.gz
upstream-e58ea0a80d320b17aaa040f7d0dcd303987ec63f.tar.bz2
upstream-e58ea0a80d320b17aaa040f7d0dcd303987ec63f.zip
bcm53xx: use upstream fix for iproc regression
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm53xx/patches-4.9/800-Revert-PCI-iproc-Request-host-bridge-window-resource.patch')
-rw-r--r--target/linux/bcm53xx/patches-4.9/800-Revert-PCI-iproc-Request-host-bridge-window-resource.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/target/linux/bcm53xx/patches-4.9/800-Revert-PCI-iproc-Request-host-bridge-window-resource.patch b/target/linux/bcm53xx/patches-4.9/800-Revert-PCI-iproc-Request-host-bridge-window-resource.patch
deleted file mode 100644
index 5c8fef76cf..0000000000
--- a/target/linux/bcm53xx/patches-4.9/800-Revert-PCI-iproc-Request-host-bridge-window-resource.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Thu, 9 Mar 2017 10:53:06 +0100
-Subject: [PATCH] Revert "PCI: iproc: Request host bridge window resources"
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This reverts commit c3245a566400 ("PCI: iproc: Request host bridge
-window resources"). It was passing local variable of
-iproc_pcie_bcma_probe to the devm_request_pci_bus_resources. It meant
-using unallocated memory for tracing resource which could easily result
-in corruption and crashes.
-
-Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
----
-
---- a/drivers/pci/host/pcie-iproc.c
-+++ b/drivers/pci/host/pcie-iproc.c
-@@ -462,9 +462,6 @@ int iproc_pcie_setup(struct iproc_pcie *
- struct pci_bus *bus;
-
- dev = pcie->dev;
-- ret = devm_request_pci_bus_resources(dev, res);
-- if (ret)
-- return ret;
-
- ret = phy_init(pcie->phy);
- if (ret) {