From: George Amanakis Date: Thu, 13 Jun 2019 04:03:38 +0000 (-0400) Subject: mvebu: fixes commit f63a1caf22cb X-Git-Tag: v18.06.3~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c449130bb262f86d2b507343e699eb3983362584;p=oweals%2Fopenwrt.git 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 [altered hashes] Signed-off-by: Koen Vandeputte --- 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 + 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;