mvebu: fixes commit 4089df4f4b

err_free_stats has been deprecated. Replace with err_netdev.

Compile-tested on: mvebu
Runtime-tested on: mvebu

Fixes: 4089df4f4b ("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)
master
George Amanakis 6 years ago committed by Koen Vandeputte
parent 4fce09c1ec
commit 1d1dca45ea
  1. 2
      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;

Loading…
Cancel
Save