From c449130bb262f86d2b507343e699eb3983362584 Mon Sep 17 00:00:00 2001 From: George Amanakis Date: Thu, 13 Jun 2019 00:03:38 -0400 Subject: [PATCH] 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 --- .../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 577317a84d7..34a2d342dbe 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;