Skip to content

Commit 1e10f3f

Browse files
montjoiedavem330
authored andcommitted
net: bfin_mac: Fix a few spelling fixes
This patch respell some word badly spelled. - Invidate instead of Invalidate - proble instead of probe Signed-off-by: LABBE Corentin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 5f3b9d3 commit 1e10f3f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/net/ethernet/adi/bfin_mac.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ static int desc_list_init(struct net_device *dev)
192192
goto init_error;
193193

194194
skb_reserve(new_skb, NET_IP_ALIGN);
195-
/* Invidate the data cache of skb->data range when it is write back
196-
* cache. It will prevent overwritting the new data from DMA
195+
/* Invalidate the data cache of skb->data range when it is write back
196+
* cache. It will prevent overwriting the new data from DMA
197197
*/
198198
blackfin_dcache_invalidate_range((unsigned long)new_skb->head,
199199
(unsigned long)new_skb->end);
@@ -1205,7 +1205,7 @@ static void bfin_mac_rx(struct bfin_mac_local *lp)
12051205
}
12061206
/* reserve 2 bytes for RXDWA padding */
12071207
skb_reserve(new_skb, NET_IP_ALIGN);
1208-
/* Invidate the data cache of skb->data range when it is write back
1208+
/* Invalidate the data cache of skb->data range when it is write back
12091209
* cache. It will prevent overwritting the new data from DMA
12101210
*/
12111211
blackfin_dcache_invalidate_range((unsigned long)new_skb->head,
@@ -1599,7 +1599,7 @@ static int bfin_mac_probe(struct platform_device *pdev)
15991599
*(__le16 *) (&(ndev->dev_addr[4])) = cpu_to_le16((u16) bfin_read_EMAC_ADDRHI());
16001600

16011601
/* probe mac */
1602-
/*todo: how to proble? which is revision_register */
1602+
/*todo: how to probe? which is revision_register */
16031603
bfin_write_EMAC_ADDRLO(0x12345678);
16041604
if (bfin_read_EMAC_ADDRLO() != 0x12345678) {
16051605
dev_err(&pdev->dev, "Cannot detect Blackfin on-chip ethernet MAC controller!\n");

0 commit comments

Comments
 (0)