Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1461171 > unrolled thread

[PATCH] net: bfin_mac: Fix a few spelling fixes

Started byLABBE Corentin <clabbe.montjoie@gmail.com>
First post2016-08-12 15:20 +0200
Last post2016-08-14 11:00 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] net: bfin_mac: Fix a few spelling fixes LABBE Corentin <clabbe.montjoie@gmail.com> - 2016-08-12 15:20 +0200
    Re: [PATCH] net: bfin_mac: Fix a few spelling fixes Randy Dunlap <rdunlap@infradead.org> - 2016-08-14 11:00 +0200
    Re: [PATCH] net: bfin_mac: Fix a few spelling fixes David Miller <davem@davemloft.net> - 2016-08-14 11:00 +0200

#1461171 — [PATCH] net: bfin_mac: Fix a few spelling fixes

FromLABBE Corentin <clabbe.montjoie@gmail.com>
Date2016-08-12 15:20 +0200
Subject[PATCH] net: bfin_mac: Fix a few spelling fixes
Message-ID<s5kxs-26U-7@gated-at.bofh.it>
This patch respell some word badly spelled.
- Invidate instead of Invalidate
- proble instead of probe

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
---
 drivers/net/ethernet/adi/bfin_mac.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/ethernet/adi/bfin_mac.c b/drivers/net/ethernet/adi/bfin_mac.c
index 38eaea1..00f9ee3 100644
--- a/drivers/net/ethernet/adi/bfin_mac.c
+++ b/drivers/net/ethernet/adi/bfin_mac.c
@@ -192,8 +192,8 @@ static int desc_list_init(struct net_device *dev)
 			goto init_error;
 
 		skb_reserve(new_skb, NET_IP_ALIGN);
-		/* Invidate the data cache of skb->data range when it is write back
-		 * cache. It will prevent overwritting the new data from DMA
+		/* Invalidate the data cache of skb->data range when it is write back
+		 * cache. It will prevent overwriting the new data from DMA
 		 */
 		blackfin_dcache_invalidate_range((unsigned long)new_skb->head,
 					 (unsigned long)new_skb->end);
@@ -1205,7 +1205,7 @@ static void bfin_mac_rx(struct bfin_mac_local *lp)
 	}
 	/* reserve 2 bytes for RXDWA padding */
 	skb_reserve(new_skb, NET_IP_ALIGN);
-	/* Invidate the data cache of skb->data range when it is write back
+	/* Invalidate the data cache of skb->data range when it is write back
 	 * cache. It will prevent overwritting the new data from DMA
 	 */
 	blackfin_dcache_invalidate_range((unsigned long)new_skb->head,
@@ -1599,7 +1599,7 @@ static int bfin_mac_probe(struct platform_device *pdev)
 	*(__le16 *) (&(ndev->dev_addr[4])) = cpu_to_le16((u16) bfin_read_EMAC_ADDRHI());
 
 	/* probe mac */
-	/*todo: how to proble? which is revision_register */
+	/*todo: how to probe? which is revision_register */
 	bfin_write_EMAC_ADDRLO(0x12345678);
 	if (bfin_read_EMAC_ADDRLO() != 0x12345678) {
 		dev_err(&pdev->dev, "Cannot detect Blackfin on-chip ethernet MAC controller!\n");
-- 
2.7.3

[toc] | [next] | [standalone]


#1461723

FromRandy Dunlap <rdunlap@infradead.org>
Date2016-08-14 11:00 +0200
Message-ID<s5ZqW-5AD-31@gated-at.bofh.it>
In reply to#1461171
On 08/12/16 05:58, LABBE Corentin wrote:
> This patch respell some word badly spelled.
> - Invidate instead of Invalidate
> - proble instead of probe
> 
> Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
> ---
>  drivers/net/ethernet/adi/bfin_mac.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/net/ethernet/adi/bfin_mac.c b/drivers/net/ethernet/adi/bfin_mac.c
> index 38eaea1..00f9ee3 100644
> --- a/drivers/net/ethernet/adi/bfin_mac.c
> +++ b/drivers/net/ethernet/adi/bfin_mac.c
> @@ -192,8 +192,8 @@ static int desc_list_init(struct net_device *dev)
>  			goto init_error;
>  
>  		skb_reserve(new_skb, NET_IP_ALIGN);
> -		/* Invidate the data cache of skb->data range when it is write back
> -		 * cache. It will prevent overwritting the new data from DMA
> +		/* Invalidate the data cache of skb->data range when it is write back
> +		 * cache. It will prevent overwriting the new data from DMA
>  		 */
>  		blackfin_dcache_invalidate_range((unsigned long)new_skb->head,
>  					 (unsigned long)new_skb->end);
> @@ -1205,7 +1205,7 @@ static void bfin_mac_rx(struct bfin_mac_local *lp)
>  	}
>  	/* reserve 2 bytes for RXDWA padding */
>  	skb_reserve(new_skb, NET_IP_ALIGN);
> -	/* Invidate the data cache of skb->data range when it is write back
> +	/* Invalidate the data cache of skb->data range when it is write back
>  	 * cache. It will prevent overwritting the new data from DMA

	                          overwriting

>  	 */
>  	blackfin_dcache_invalidate_range((unsigned long)new_skb->head,
> @@ -1599,7 +1599,7 @@ static int bfin_mac_probe(struct platform_device *pdev)
>  	*(__le16 *) (&(ndev->dev_addr[4])) = cpu_to_le16((u16) bfin_read_EMAC_ADDRHI());
>  
>  	/* probe mac */
> -	/*todo: how to proble? which is revision_register */
> +	/*todo: how to probe? which is revision_register */
>  	bfin_write_EMAC_ADDRLO(0x12345678);
>  	if (bfin_read_EMAC_ADDRLO() != 0x12345678) {
>  		dev_err(&pdev->dev, "Cannot detect Blackfin on-chip ethernet MAC controller!\n");
> 


-- 
~Randy

[toc] | [prev] | [next] | [standalone]


#1461728

FromDavid Miller <davem@davemloft.net>
Date2016-08-14 11:00 +0200
Message-ID<s5ZqX-5AD-49@gated-at.bofh.it>
In reply to#1461171
From: LABBE Corentin <clabbe.montjoie@gmail.com>
Date: Fri, 12 Aug 2016 14:58:02 +0200

> This patch respell some word badly spelled.
> - Invidate instead of Invalidate
> - proble instead of probe
> 
> Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>

Applied.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web