From c450bd4b77cff07aa31d462901711ca72a789e93 Mon Sep 17 00:00:00 2001 From: nivalxer Date: Fri, 28 Jun 2019 23:33:46 +0800 Subject: [PATCH] mvebu: fixes commit (#1402) https://github.com/openwrt/openwrt/commit/1e3800df1808b4a5a977c3a9651958611df51c83 err_free_stats has been deprecated. Replace with err_netdev. --- .../mvebu/patches-4.14/403-net-mvneta-convert-to-phylink.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 577317a84..34a2d342d 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;