2022-07-18 14:16:12

by Jason Wang

[permalink] [raw]
Subject: [PATCH] net: ieee802154: ca8210: Fix comment typo

The double `was' is duplicated in line 2296, remove one.

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

diff --git a/drivers/net/ieee802154/ca8210.c b/drivers/net/ieee802154/ca8210.c
index 42c0b451088d..450b16ad40a4 100644
--- a/drivers/net/ieee802154/ca8210.c
+++ b/drivers/net/ieee802154/ca8210.c
@@ -2293,7 +2293,7 @@ static int ca8210_set_csma_params(
* @retries: Number of retries
*
* Sets the number of times to retry a transmission if no acknowledgment was
- * was received from the other end when one was requested.
+ * received from the other end when one was requested.
*
* Return: 0 or linux error code
*/
--
2.35.1


2022-07-18 19:53:06

by Stefan Schmidt

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


Hello.

On 15.07.22 07:07, Jason Wang wrote:
> The double `was' is duplicated in line 2296, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>
> ---
> drivers/net/ieee802154/ca8210.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ieee802154/ca8210.c b/drivers/net/ieee802154/ca8210.c
> index 42c0b451088d..450b16ad40a4 100644
> --- a/drivers/net/ieee802154/ca8210.c
> +++ b/drivers/net/ieee802154/ca8210.c
> @@ -2293,7 +2293,7 @@ static int ca8210_set_csma_params(
> * @retries: Number of retries
> *
> * Sets the number of times to retry a transmission if no acknowledgment was
> - * was received from the other end when one was requested.
> + * received from the other end when one was requested.
> *
> * Return: 0 or linux error code
> */

A similar patch was submit a week ago which I finally applied today.
Which means this patch has not been applied as the problem is gone.

regards
Stefan Schmidt