Commit dfd4240a authored by Markus Elfring's avatar Markus Elfring Committed by David S. Miller

net: mvpp2: Adjust three error messages

Use the word "failed" in the string for three function calls.
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c1175547
...@@ -6094,7 +6094,7 @@ static int mvpp2_set_mac_address(struct net_device *dev, void *p) ...@@ -6094,7 +6094,7 @@ static int mvpp2_set_mac_address(struct net_device *dev, void *p)
mvpp2_ingress_enable(port); mvpp2_ingress_enable(port);
return 0; return 0;
log_error: log_error:
netdev_err(dev, "fail to change MAC address\n"); netdev_err(dev, "failed to change MAC address\n");
return err; return err;
} }
...@@ -6142,7 +6142,7 @@ static int mvpp2_change_mtu(struct net_device *dev, int mtu) ...@@ -6142,7 +6142,7 @@ static int mvpp2_change_mtu(struct net_device *dev, int mtu)
return 0; return 0;
log_error: log_error:
netdev_err(dev, "fail to change MTU\n"); netdev_err(dev, "failed to change MTU\n");
return err; return err;
} }
...@@ -6311,7 +6311,7 @@ static int mvpp2_ethtool_set_ringparam(struct net_device *dev, ...@@ -6311,7 +6311,7 @@ static int mvpp2_ethtool_set_ringparam(struct net_device *dev,
err_clean_rxqs: err_clean_rxqs:
mvpp2_cleanup_rxqs(port); mvpp2_cleanup_rxqs(port);
err_out: err_out:
netdev_err(dev, "fail to change ring parameters"); netdev_err(dev, "failed to change ring parameters");
return err; return err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment