aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Amanakis <gamanakis@gmail.com>2019-06-13 00:03:38 -0400
committerHauke Mehrtens <hauke@hauke-m.de>2019-06-16 19:03:04 +0200
commit1e3800df1808b4a5a977c3a9651958611df51c83 (patch)
treecc8eb858ea42046b63431027928fbfe171fe664f
parent8888cb725d492ad5cad5b59fc7117b006e1bba5a (diff)
downloadupstream-1e3800df1808b4a5a977c3a9651958611df51c83.tar.gz
upstream-1e3800df1808b4a5a977c3a9651958611df51c83.tar.bz2
upstream-1e3800df1808b4a5a977c3a9651958611df51c83.zip
mvebu: fixes commit a7e68927d0
err_free_stats has been deprecated. Replace with err_netdev. Compile-tested on: mvebu Runtime-tested on: mvebu Fixes: a7e68927d047 ("kernel: bump 4.14 to 4.14.125 (FS#2305 FS#2297)") Signed-off-by: George Amanakis <gamanakis@gmail.com>
-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;