i40e: Add missing \n to end of dev_err message
authorColin Ian King <[email protected]>
Tue, 4 Oct 2016 11:20:16 +0000 (12:20 +0100)
committerJeff Kirsher <[email protected]>
Mon, 31 Oct 2016 21:26:40 +0000 (14:26 -0700)
Trival fix, dev_err message is missing a \n, so add it.

Signed-off-by: Colin Ian King <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c

index 54b8ee2583f14da4e6e2f9951d672c784a8edf8d..64e54a562f4110b0584ec1d3369b4dc8511e4f49 100644 (file)
@@ -2940,7 +2940,7 @@ int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate,
        }
 
        if (max_tx_rate > speed) {
-               dev_err(&pf->pdev->dev, "Invalid max tx rate %d specified for VF %d.",
+               dev_err(&pf->pdev->dev, "Invalid max tx rate %d specified for VF %d.\n",
                        max_tx_rate, vf->vf_id);
                ret = -EINVAL;
                goto error;