aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGeorge Amanakis <gamanakis@gmail.com>2019-06-13 00:03:38 -0400
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2019-06-18 11:44:19 +0200
commitc449130bb262f86d2b507343e699eb3983362584 (patch)
tree1df4b5eb8686b8f85cd6c871c0932fd413162412 /target/linux
parent6fa6f74e376b0b50fb94b40c12781c7728a95c06 (diff)
downloadupstream-c449130bb262f86d2b507343e699eb3983362584.tar.gz
upstream-c449130bb262f86d2b507343e699eb3983362584.tar.bz2
upstream-c449130bb262f86d2b507343e699eb3983362584.zip
mvebu: fixes commit f63a1caf22cb
err_free_stats has been deprecated. Replace with err_netdev. Compile-tested on: mvebu Runtime-tested on: mvebu Fixes: f63a1caf22cb ("kernel: bump 4.14 to 4.14.125") Signed-off-by: George Amanakis <gamanakis@gmail.com> [altered hashes] Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/mvebu/patches-4.14/403-net-mvneta-convert-to-phylink.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/patches-4.14/403-net-mvneta-convert-to-phylink.patch b/target/linux/mvebu/patches-4.14/403-net-mvneta-convert-to-phylink.patch
index 577317a84d..34a2d342db 100644
--- a/target/linux/mvebu/patches-4.14/403-net-mvneta-convert-to-phylink.patch
+++ b/target/linux/mvebu/patches-4.14/403-net-mvneta-convert-to-phylink.patch
@@ -905,7 +905,7 @@ Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
+ phylink = phylink_create(dev, dn, phy_mode, &mvneta_phylink_ops);
+ if (IS_ERR(phylink)) {
+ err = PTR_ERR(phylink);
-+ goto err_free_stats;
++ goto err_netdev;
+ }
+
+ pp->phylink = phylink;