netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][V2] net: fec: fix spelling mistakes and add missing newline
@ 2016-06-06  8:21 Colin King
  2016-06-07  1:29 ` Fugang Duan
  2016-06-07 23:16 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Colin King @ 2016-06-06  8:21 UTC (permalink / raw)
  To: Fugang Duan, netdev; +Cc: linux-kernel

From: Colin Ian King <colin.king@canonical.com>

trivial fix to spelling mistakes and add missing newline in pr_err
messages

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/net/ethernet/freescale/fec_main.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
index 3c0255e..fea0f33 100644
--- a/drivers/net/ethernet/freescale/fec_main.c
+++ b/drivers/net/ethernet/freescale/fec_main.c
@@ -2416,24 +2416,24 @@ fec_enet_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *ec)
 		return -EOPNOTSUPP;
 
 	if (ec->rx_max_coalesced_frames > 255) {
-		pr_err("Rx coalesced frames exceed hardware limiation");
+		pr_err("Rx coalesced frames exceed hardware limitation\n");
 		return -EINVAL;
 	}
 
 	if (ec->tx_max_coalesced_frames > 255) {
-		pr_err("Tx coalesced frame exceed hardware limiation");
+		pr_err("Tx coalesced frame exceed hardware limitation\n");
 		return -EINVAL;
 	}
 
 	cycle = fec_enet_us_to_itr_clock(ndev, fep->rx_time_itr);
 	if (cycle > 0xFFFF) {
-		pr_err("Rx coalesed usec exceeed hardware limiation");
+		pr_err("Rx coalesced usec exceed hardware limitation\n");
 		return -EINVAL;
 	}
 
 	cycle = fec_enet_us_to_itr_clock(ndev, fep->tx_time_itr);
 	if (cycle > 0xFFFF) {
-		pr_err("Rx coalesed usec exceeed hardware limiation");
+		pr_err("Rx coalesced usec exceed hardware limitation\n");
 		return -EINVAL;
 	}
 
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH][V2] net: fec: fix spelling mistakes and add missing newline
  2016-06-06  8:21 [PATCH][V2] net: fec: fix spelling mistakes and add missing newline Colin King
@ 2016-06-07  1:29 ` Fugang Duan
  2016-06-07 23:16 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Fugang Duan @ 2016-06-07  1:29 UTC (permalink / raw)
  To: Colin King, netdev@vger.kernel.org; +Cc: linux-kernel@vger.kernel.org

From: Colin King <colin.king@canonical.com> Sent: Monday, June 06, 2016 4:22 PM
> To: Fugang Duan <fugang.duan@nxp.com>; netdev@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Subject: [PATCH][V2] net: fec: fix spelling mistakes and add missing newline
> 
> From: Colin Ian King <colin.king@canonical.com>
> 
> trivial fix to spelling mistakes and add missing newline in pr_err messages
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/net/ethernet/freescale/fec_main.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/net/ethernet/freescale/fec_main.c
> b/drivers/net/ethernet/freescale/fec_main.c
> index 3c0255e..fea0f33 100644
> --- a/drivers/net/ethernet/freescale/fec_main.c
> +++ b/drivers/net/ethernet/freescale/fec_main.c
> @@ -2416,24 +2416,24 @@ fec_enet_set_coalesce(struct net_device *ndev,
> struct ethtool_coalesce *ec)
>  		return -EOPNOTSUPP;
> 
>  	if (ec->rx_max_coalesced_frames > 255) {
> -		pr_err("Rx coalesced frames exceed hardware limiation");
> +		pr_err("Rx coalesced frames exceed hardware limitation\n");
>  		return -EINVAL;
>  	}
> 
>  	if (ec->tx_max_coalesced_frames > 255) {
> -		pr_err("Tx coalesced frame exceed hardware limiation");
> +		pr_err("Tx coalesced frame exceed hardware limitation\n");
>  		return -EINVAL;
>  	}
> 
>  	cycle = fec_enet_us_to_itr_clock(ndev, fep->rx_time_itr);
>  	if (cycle > 0xFFFF) {
> -		pr_err("Rx coalesed usec exceeed hardware limiation");
> +		pr_err("Rx coalesced usec exceed hardware limitation\n");
>  		return -EINVAL;
>  	}
> 
>  	cycle = fec_enet_us_to_itr_clock(ndev, fep->tx_time_itr);
>  	if (cycle > 0xFFFF) {
> -		pr_err("Rx coalesed usec exceeed hardware limiation");
> +		pr_err("Rx coalesced usec exceed hardware limitation\n");
>  		return -EINVAL;
>  	}
> 
> --
> 2.8.1

Acked-by: Fugang Duan <fugang.duan@nxp.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][V2] net: fec: fix spelling mistakes and add missing newline
  2016-06-06  8:21 [PATCH][V2] net: fec: fix spelling mistakes and add missing newline Colin King
  2016-06-07  1:29 ` Fugang Duan
@ 2016-06-07 23:16 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2016-06-07 23:16 UTC (permalink / raw)
  To: colin.king; +Cc: fugang.duan, netdev, linux-kernel

From: Colin King <colin.king@canonical.com>
Date: Mon,  6 Jun 2016 09:21:44 +0100

> From: Colin Ian King <colin.king@canonical.com>
> 
> trivial fix to spelling mistakes and add missing newline in pr_err
> messages
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-07 23:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-06  8:21 [PATCH][V2] net: fec: fix spelling mistakes and add missing newline Colin King
2016-06-07  1:29 ` Fugang Duan
2016-06-07 23:16 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).