diff options
author | George Amanakis <gamanakis@gmail.com> | 2019-06-13 00:03:38 -0400 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-06-17 10:45:37 +0200 |
commit | 1d1dca45eafac27daa3ec292235399c0090e846e (patch) | |
tree | a6381f140c933dd0c6639394434ff1f0c26837d3 /target/linux | |
parent | 4fce09c1ec52987a8b4278173b073e37df434cf9 (diff) | |
download | upstream-1d1dca45eafac27daa3ec292235399c0090e846e.tar.gz upstream-1d1dca45eafac27daa3ec292235399c0090e846e.tar.bz2 upstream-1d1dca45eafac27daa3ec292235399c0090e846e.zip |
mvebu: fixes commit 4089df4f4b0d
err_free_stats has been deprecated. Replace with err_netdev.
Compile-tested on: mvebu
Runtime-tested on: mvebu
Fixes: 4089df4f4b0d ("kernel: bump 4.14 to 4.14.125 (FS#2305 FS#2297)")
Signed-off-by: George Amanakis <gamanakis@gmail.com>
[altered hashes]
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
(cherry picked from commit 1e3800df1808b4a5a977c3a9651958611df51c83)
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/mvebu/patches-4.14/403-net-mvneta-convert-to-phylink.patch | 2 |
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; |