Skip to contentSkip to conversation

net: ipa: Fix comment typo

PATCH Applied Jason Wang 3 participants 3 messages Aug 11, 2022 – Aug 12, 2022

Subsystems (3)
lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 net: ipa: Fix comment typo

The double `is' is duplicated in the comment, remove one.

---
 drivers/net/ipa/ipa_reg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ipa/ipa_reg.h +1 -1
index a5b355384d4a..6f35438cda89 100644
@@ -48,7 +48,7 @@ struct ipa;
  *
  * The offset of registers related to resource types is computed by a macro
  * that is supplied a parameter "rt".  The "rt" represents a resource type,
- * which is is a member of the ipa_resource_type_src enumerated type for
+ * which is a member of the ipa_resource_type_src enumerated type for
  * source endpoint resources or the ipa_resource_type_dst enumerated type
  * for destination endpoint resources.
  *
Signature · 1 line
2.36.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Jason Wang

The double `is' is duplicated in the comment, remove one.

I know this is not the only instance of a duplicate word in the comments in this driver. I (and others) keep finding them. It might be nice if someone tried to take care of as many as can be found in a single patch.

In any case, this looks good.

Quoted 17 lines
---
  drivers/net/ipa/ipa_reg.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ipa/ipa_reg.h +1 -1
index a5b355384d4a..6f35438cda89 100644
@@ -48,7 +48,7 @@ struct ipa;
   *
   * The offset of registers related to resource types is computed by a macro
   * that is supplied a parameter "rt".  The "rt" represents a resource type,
- * which is is a member of the ipa_resource_type_src enumerated type for
+ * which is a member of the ipa_resource_type_src enumerated type for
   * source endpoint resources or the ipa_resource_type_dst enumerated type
   * for destination endpoint resources.
   *
#2 lore raw
In reply to Jason Wang
This patch was applied to netdev/net.git (master) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <[email protected]>:

Quoted 6 lines · On Thu, 11 Aug 2022 19:52:59 +0800 you wrote:

The double `is' is duplicated in the comment, remove one.

---
 drivers/net/ipa/ipa_reg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- net: ipa: Fix comment typo

    https://git.kernel.org/netdev/net/c/9221b2898a58

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html