diff mbox series

[v2] rt2x00: remove duplicate word and fix typo in comment

Message ID 20210204005119.18060-1-samirweng1979@163.com (mailing list archive)
State Accepted
Commit cc1546d6850c4c7784026e155d7e5e65b1d62670
Delegated to: Kalle Valo
Headers show
Series [v2] rt2x00: remove duplicate word and fix typo in comment | expand

Commit Message

samirweng1979 Feb. 4, 2021, 12:51 a.m. UTC
From: wengjianfeng <wengjianfeng@yulong.com>

remove duplicate word 'we' in comment
change 'then' to 'than' in comment

Signed-off-by: wengjianfeng <wengjianfeng@yulong.com>
---
 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Randy Dunlap Feb. 4, 2021, 12:56 a.m. UTC | #1
On 2/3/21 4:51 PM, samirweng1979 wrote:
> From: wengjianfeng <wengjianfeng@yulong.com>
> 
> remove duplicate word 'we' in comment
> change 'then' to 'than' in comment
> 
> Signed-off-by: wengjianfeng <wengjianfeng@yulong.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
>  drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c b/drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c
> index c861811..ad95f9e 100644
> --- a/drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c
> +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c
> @@ -179,7 +179,7 @@ void rt2x00crypto_rx_insert_iv(struct sk_buff *skb,
>  	 * Make room for new data. There are 2 possibilities
>  	 * either the alignment is already present between
>  	 * the 802.11 header and payload. In that case we
> -	 * we have to move the header less then the iv_len
> +	 * have to move the header less than the iv_len
>  	 * since we can use the already available l2pad bytes
>  	 * for the iv data.
>  	 * When the alignment must be added manually we must
>
Kalle Valo Feb. 8, 2021, 11:20 a.m. UTC | #2
samirweng1979 <samirweng1979@163.com> wrote:

> From: wengjianfeng <wengjianfeng@yulong.com>
> 
> remove duplicate word 'we' in comment
> change 'then' to 'than' in comment
> 
> Signed-off-by: wengjianfeng <wengjianfeng@yulong.com>
> Acked-by: Randy Dunlap <rdunlap@infradead.org>

Patch applied to wireless-drivers-next.git, thanks.

cc1546d6850c rt2x00: remove duplicate word and fix typo in comment
diff mbox series

Patch

diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c b/drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c
index c861811..ad95f9e 100644
--- a/drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c
+++ b/drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c
@@ -179,7 +179,7 @@  void rt2x00crypto_rx_insert_iv(struct sk_buff *skb,
 	 * Make room for new data. There are 2 possibilities
 	 * either the alignment is already present between
 	 * the 802.11 header and payload. In that case we
-	 * we have to move the header less then the iv_len
+	 * have to move the header less than the iv_len
 	 * since we can use the already available l2pad bytes
 	 * for the iv data.
 	 * When the alignment must be added manually we must