diff options
author | George Amanakis <gamanakis@gmail.com> | 2019-06-13 00:03:38 -0400 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-06-18 11:44:19 +0200 |
commit | c449130bb262f86d2b507343e699eb3983362584 (patch) | |
tree | 1df4b5eb8686b8f85cd6c871c0932fd413162412 /target/linux | |
parent | 6fa6f74e376b0b50fb94b40c12781c7728a95c06 (diff) | |
download | upstream-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.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; |