2022-08-11 12:06:06

by Jason Wang

[permalink] [raw]
Subject: [PATCH] wifi: p54: Fix comment typo

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

Signed-off-by: Jason Wang <[email protected]>
---
drivers/net/wireless/intersil/p54/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/intersil/p54/main.c b/drivers/net/wireless/intersil/p54/main.c
index b925e327e091..e127453ab51a 100644
--- a/drivers/net/wireless/intersil/p54/main.c
+++ b/drivers/net/wireless/intersil/p54/main.c
@@ -635,7 +635,7 @@ static int p54_get_survey(struct ieee80211_hw *dev, int idx,
/*
* hw/fw has not accumulated enough sample sets.
* Wait for 100ms, this ought to be enough to
- * to get at least one non-null set of channel
+ * get at least one non-null set of channel
* usage statistics.
*/
msleep(100);
--
2.36.1


2022-08-12 07:56:42

by Christian Lamparter

[permalink] [raw]
Subject: Re: [PATCH] wifi: p54: Fix comment typo

On 11/08/2022 14:03, Jason Wang wrote:
> The double `to' is duplicated in the comment, remove one.

Oh, there might be more errors... much more.

If you can, please aggregated spelling and grammar errors.

Acked-by: Christian Lamparter <[email protected]>

>
> Signed-off-by: Jason Wang <[email protected]>
> ---
> drivers/net/wireless/intersil/p54/main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/wireless/intersil/p54/main.c b/drivers/net/wireless/intersil/p54/main.c
> index b925e327e091..e127453ab51a 100644
> --- a/drivers/net/wireless/intersil/p54/main.c
> +++ b/drivers/net/wireless/intersil/p54/main.c
> @@ -635,7 +635,7 @@ static int p54_get_survey(struct ieee80211_hw *dev, int idx,
> /*
> * hw/fw has not accumulated enough sample sets.
> * Wait for 100ms, this ought to be enough to
> - * to get at least one non-null set of channel
> + * get at least one non-null set of channel
> * usage statistics.
> */
> msleep(100);

2022-09-07 08:02:49

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH] wifi: p54: Fix comment typo

Jason Wang <[email protected]> wrote:

> The double `to' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>
> Acked-by: Christian Lamparter <[email protected]>

Patch applied to wireless-next.git, thanks.

3d784bade0fd wifi: p54: Fix comment typo

--
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches