[PATCH] net: ethernet: marvell: Fixed typo in the file sky2.c

Subsystems: marvell gigabit ethernet drivers (skge/sky2), networking drivers, the rest

STALE1979d

3 messages, 3 authors, 2021-03-14 · open the first message on its own page

[PATCH] net: ethernet: marvell: Fixed typo in the file sky2.c

From: Bhaskar Chowdhury <hidden>
Date: 2021-03-13 05:49:12

s/calclation/calculation/

Signed-off-by: Bhaskar Chowdhury <redacted>
---
 drivers/net/ethernet/marvell/sky2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/marvell/sky2.c b/drivers/net/ethernet/marvell/sky2.c
index ebe1406c6e64..18a3db2fd337 100644
--- a/drivers/net/ethernet/marvell/sky2.c
+++ b/drivers/net/ethernet/marvell/sky2.c
@@ -4135,7 +4135,7 @@ static int sky2_set_coalesce(struct net_device *dev,
 /*
  * Hardware is limited to min of 128 and max of 2048 for ring size
  * and  rounded up to next power of two
- * to avoid division in modulus calclation
+ * to avoid division in modulus calculation
  */
 static unsigned long roundup_ring_size(unsigned long pending)
 {
--
2.26.2

Re: [PATCH] net: ethernet: marvell: Fixed typo in the file sky2.c

From: Randy Dunlap <hidden>
Date: 2021-03-13 06:51:17

On 3/12/21 9:45 PM, Bhaskar Chowdhury wrote:
s/calclation/calculation/

Signed-off-by: Bhaskar Chowdhury <redacted>
Acked-by: Randy Dunlap <redacted>


Subject: should say "Fix typo", not "Fixed typo".
quoted hunk
---
 drivers/net/ethernet/marvell/sky2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/marvell/sky2.c b/drivers/net/ethernet/marvell/sky2.c
index ebe1406c6e64..18a3db2fd337 100644
--- a/drivers/net/ethernet/marvell/sky2.c
+++ b/drivers/net/ethernet/marvell/sky2.c
@@ -4135,7 +4135,7 @@ static int sky2_set_coalesce(struct net_device *dev,
 /*
  * Hardware is limited to min of 128 and max of 2048 for ring size
  * and  rounded up to next power of two
- * to avoid division in modulus calclation
+ * to avoid division in modulus calculation
  */
 static unsigned long roundup_ring_size(unsigned long pending)
 {
--

-- 
~Randy

Re: [PATCH] net: ethernet: marvell: Fixed typo in the file sky2.c

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-03-14 02:20:09

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Sat, 13 Mar 2021 11:15:36 +0530 you wrote:
s/calclation/calculation/

Signed-off-by: Bhaskar Chowdhury <redacted>
---
 drivers/net/ethernet/marvell/sky2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

[...]
Here is the summary with links:
  - net: ethernet: marvell: Fixed typo in the file sky2.c
    https://git.kernel.org/netdev/net-next/c/65c7bc1b7a66

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help