Skip to content

Commit

Permalink
mvebu: fixes commit a7e6892
Browse files Browse the repository at this point in the history
err_free_stats has been deprecated. Replace with err_netdev.

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

Fixes: a7e6892 ("kernel: bump 4.14 to 4.14.125 (FS#2305 FS#2297)")
Signed-off-by: George Amanakis <gamanakis@gmail.com>
  • Loading branch information
gamanakis authored and hauke committed Jun 16, 2019
1 parent 8888cb7 commit 1e3800d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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;
Expand Down

0 comments on commit 1e3800d

Please sign in to comment.