summaryrefslogtreecommitdiff
path: root/target/linux/kirkwood/patches-3.10/0008-pci-mvebu-fix-return-value-check-in-mvebu_pcie_probe.patch
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2014-08-08 13:55:30 +0000
committerLuka Perkov <luka@openwrt.org>2014-08-08 13:55:30 +0000
commit7116b091eba71ea7ffcda28a03a2ea1665df5931 (patch)
treeb1f3ace542e864e355c569b1dcd8d2c3af36364d /target/linux/kirkwood/patches-3.10/0008-pci-mvebu-fix-return-value-check-in-mvebu_pcie_probe.patch
parentf767d83b67b9657dae4f06038c9672e52249e86c (diff)
downloadmtk-20170518-7116b091eba71ea7ffcda28a03a2ea1665df5931.zip
mtk-20170518-7116b091eba71ea7ffcda28a03a2ea1665df5931.tar.gz
mtk-20170518-7116b091eba71ea7ffcda28a03a2ea1665df5931.tar.bz2
kirkwood: drop 3.10 support
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42077
Diffstat (limited to 'target/linux/kirkwood/patches-3.10/0008-pci-mvebu-fix-return-value-check-in-mvebu_pcie_probe.patch')
-rw-r--r--target/linux/kirkwood/patches-3.10/0008-pci-mvebu-fix-return-value-check-in-mvebu_pcie_probe.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/target/linux/kirkwood/patches-3.10/0008-pci-mvebu-fix-return-value-check-in-mvebu_pcie_probe.patch b/target/linux/kirkwood/patches-3.10/0008-pci-mvebu-fix-return-value-check-in-mvebu_pcie_probe.patch
deleted file mode 100644
index 32035ed..0000000
--- a/target/linux/kirkwood/patches-3.10/0008-pci-mvebu-fix-return-value-check-in-mvebu_pcie_probe.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 3ad3d38d36c51b45668708a42f67b07fc87a53e3 Mon Sep 17 00:00:00 2001
-From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
-Date: Mon, 27 May 2013 11:38:41 +0800
-Subject: [PATCH 08/29] pci: mvebu: fix return value check in
- mvebu_pcie_probe()
-
-In case of error, function of_clk_get_by_name() returns
-ERR_PTR() never returns NULL. The NULL test in the return
-value check should be replaced with IS_ERR().
-
-Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
-Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Signed-off-by: Jason Cooper <jason@lakedaemon.net>
----
- drivers/pci/host/pci-mvebu.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/drivers/pci/host/pci-mvebu.c
-+++ b/drivers/pci/host/pci-mvebu.c
-@@ -828,7 +828,7 @@ static int __init mvebu_pcie_probe(struc
- }
-
- port->clk = of_clk_get_by_name(child, NULL);
-- if (!port->clk) {
-+ if (IS_ERR(port->clk)) {
- dev_err(&pdev->dev, "PCIe%d.%d: cannot get clock\n",
- port->port, port->lane);
- iounmap(port->base);