net: mvpp2: Adjust three error messages
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 17 Apr 2017 09:20:41 +0000 (11:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Apr 2017 17:55:08 +0000 (13:55 -0400)
Use the word "failed" in the string for three function calls.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c

index 89237abf386d835ad57767dfd72137a723813574..717d79dcb6aa4a5ec964f49adbc3cc5d62ae4195 100644 (file)
@@ -6094,7 +6094,7 @@ out_start:
        mvpp2_ingress_enable(port);
        return 0;
 log_error:
-       netdev_err(dev, "fail to change MAC address\n");
+       netdev_err(dev, "failed to change MAC address\n");
        return err;
 }
 
@@ -6142,7 +6142,7 @@ out_start:
 
        return 0;
 log_error:
-       netdev_err(dev, "fail to change MTU\n");
+       netdev_err(dev, "failed to change MTU\n");
        return err;
 }
 
@@ -6311,7 +6311,7 @@ static int mvpp2_ethtool_set_ringparam(struct net_device *dev,
 err_clean_rxqs:
        mvpp2_cleanup_rxqs(port);
 err_out:
-       netdev_err(dev, "fail to change ring parameters");
+       netdev_err(dev, "failed to change ring parameters");
        return err;
 }