2022-08-11 12:30:29

by Jason Wang

[permalink] [raw]
Subject: [PATCH] net: ipa: Fix comment typo

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

Signed-off-by: Jason Wang <[email protected]>
---
drivers/net/ipa/ipa_reg.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ipa/ipa_reg.h b/drivers/net/ipa/ipa_reg.h
index a5b355384d4a..6f35438cda89 100644
--- a/drivers/net/ipa/ipa_reg.h
+++ b/drivers/net/ipa/ipa_reg.h
@@ -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.36.1


2022-08-11 12:33:35

by Alex Elder

[permalink] [raw]
Subject: Re: [PATCH] net: ipa: Fix comment typo

On 8/11/22 6:52 AM, Jason Wang wrote:
> The double `is' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>

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.

Reviewed-by: Alex Elder <[email protected]>

> ---
> drivers/net/ipa/ipa_reg.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ipa/ipa_reg.h b/drivers/net/ipa/ipa_reg.h
> index a5b355384d4a..6f35438cda89 100644
> --- a/drivers/net/ipa/ipa_reg.h
> +++ b/drivers/net/ipa/ipa_reg.h
> @@ -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.
> *

2022-08-12 10:55:29

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH] net: ipa: Fix comment typo

Hello:

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

On Thu, 11 Aug 2022 19:52:59 +0800 you wrote:
> The double `is' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>
> ---
> 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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html