diff options
Diffstat (limited to 'drivers/net/mlx4/en_params.c')
-rw-r--r-- | drivers/net/mlx4/en_params.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/mlx4/en_params.c b/drivers/net/mlx4/en_params.c index c1bd040b9e05..3290fec64b2c 100644 --- a/drivers/net/mlx4/en_params.c +++ b/drivers/net/mlx4/en_params.c | |||
@@ -371,7 +371,7 @@ static int mlx4_en_set_pauseparam(struct net_device *dev, | |||
371 | priv->prof->rx_pause, | 371 | priv->prof->rx_pause, |
372 | priv->prof->rx_ppp); | 372 | priv->prof->rx_ppp); |
373 | if (err) | 373 | if (err) |
374 | mlx4_err(mdev, "Failed setting pause params to\n"); | 374 | en_err(priv, "Failed setting pause params\n"); |
375 | 375 | ||
376 | return err; | 376 | return err; |
377 | } | 377 | } |
@@ -421,13 +421,13 @@ static int mlx4_en_set_ringparam(struct net_device *dev, | |||
421 | 421 | ||
422 | err = mlx4_en_alloc_resources(priv); | 422 | err = mlx4_en_alloc_resources(priv); |
423 | if (err) { | 423 | if (err) { |
424 | mlx4_err(mdev, "Failed reallocating port resources\n"); | 424 | en_err(priv, "Failed reallocating port resources\n"); |
425 | goto out; | 425 | goto out; |
426 | } | 426 | } |
427 | if (port_up) { | 427 | if (port_up) { |
428 | err = mlx4_en_start_port(dev); | 428 | err = mlx4_en_start_port(dev); |
429 | if (err) | 429 | if (err) |
430 | mlx4_err(mdev, "Failed starting port\n"); | 430 | en_err(priv, "Failed starting port\n"); |
431 | } | 431 | } |
432 | 432 | ||
433 | out: | 433 | out: |