[PATCH] staging: r8188eu: Fix misspelling in comment

Haowen Bai posted 1 patch 4 years, 3 months ago
There is a newer version of this series
drivers/staging/r8188eu/core/rtw_ap.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH] staging: r8188eu: Fix misspelling in comment
Posted by Haowen Bai 4 years, 3 months ago
The original error is as below shows:

CHECK: 'associcated' may be misspelled - perhaps 'associated'?

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
---
 drivers/staging/r8188eu/core/rtw_ap.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/r8188eu/core/rtw_ap.c b/drivers/staging/r8188eu/core/rtw_ap.c
index 1675e2e..e02dd8e 100644
--- a/drivers/staging/r8188eu/core/rtw_ap.c
+++ b/drivers/staging/r8188eu/core/rtw_ap.c
@@ -819,7 +819,7 @@ static int rtw_ht_operation_update(struct adapter *padapter)
 
 void associated_clients_update(struct adapter *padapter, u8 updated)
 {
-	/* update associcated stations cap. */
+	/* update associated stations cap. */
 	if (updated) {
 		struct list_head *phead, *plist;
 		struct sta_info *psta = NULL;
@@ -972,7 +972,7 @@ void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta)
 		update_beacon(padapter, _HT_ADD_INFO_IE_, NULL, true);
 	}
 
-	/* update associcated stations cap. */
+	/* update associated stations cap. */
 	associated_clients_update(padapter,  beacon_updated);
 
 	DBG_88E("%s, updated =%d\n", __func__, beacon_updated);
@@ -1036,7 +1036,7 @@ u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta)
 		update_beacon(padapter, _HT_ADD_INFO_IE_, NULL, true);
 	}
 
-	/* update associcated stations cap. */
+	/* update associated stations cap. */
 
 	DBG_88E("%s, updated =%d\n", __func__, beacon_updated);
 
-- 
2.7.4
Re: [PATCH] staging: r8188eu: Fix misspelling in comment
Posted by Greg KH 4 years, 2 months ago
On Mon, Mar 21, 2022 at 10:55:14AM +0800, Haowen Bai wrote:
> The original error is as below shows:
> 
> CHECK: 'associcated' may be misspelled - perhaps 'associated'?
> 
> Signed-off-by: Haowen Bai <baihaowen@meizu.com>
> ---
>  drivers/staging/r8188eu/core/rtw_ap.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/r8188eu/core/rtw_ap.c b/drivers/staging/r8188eu/core/rtw_ap.c
> index 1675e2e..e02dd8e 100644
> --- a/drivers/staging/r8188eu/core/rtw_ap.c
> +++ b/drivers/staging/r8188eu/core/rtw_ap.c
> @@ -819,7 +819,7 @@ static int rtw_ht_operation_update(struct adapter *padapter)
>  
>  void associated_clients_update(struct adapter *padapter, u8 updated)
>  {
> -	/* update associcated stations cap. */
> +	/* update associated stations cap. */
>  	if (updated) {
>  		struct list_head *phead, *plist;
>  		struct sta_info *psta = NULL;
> @@ -972,7 +972,7 @@ void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta)
>  		update_beacon(padapter, _HT_ADD_INFO_IE_, NULL, true);
>  	}
>  
> -	/* update associcated stations cap. */
> +	/* update associated stations cap. */
>  	associated_clients_update(padapter,  beacon_updated);
>  
>  	DBG_88E("%s, updated =%d\n", __func__, beacon_updated);
> @@ -1036,7 +1036,7 @@ u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta)
>  		update_beacon(padapter, _HT_ADD_INFO_IE_, NULL, true);
>  	}
>  
> -	/* update associcated stations cap. */
> +	/* update associated stations cap. */
>  
>  	DBG_88E("%s, updated =%d\n", __func__, beacon_updated);
>  
> -- 
> 2.7.4
> 
> 

Does not apply to my tree :(
Re: [PATCH] staging: r8188eu: Fix misspelling in comment
Posted by baihaowen 4 years, 2 months ago
在 3/29/22 10:52 PM, Greg KH 写道:
> On Mon, Mar 21, 2022 at 10:55:14AM +0800, Haowen Bai wrote:
>> The original error is as below shows:
>>
>> CHECK: 'associcated' may be misspelled - perhaps 'associated'?
>>
>> Signed-off-by: Haowen Bai <baihaowen@meizu.com>
>> ---
>>  drivers/staging/r8188eu/core/rtw_ap.c | 6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/drivers/staging/r8188eu/core/rtw_ap.c b/drivers/staging/r8188eu/core/rtw_ap.c
>> index 1675e2e..e02dd8e 100644
>> --- a/drivers/staging/r8188eu/core/rtw_ap.c
>> +++ b/drivers/staging/r8188eu/core/rtw_ap.c
>> @@ -819,7 +819,7 @@ static int rtw_ht_operation_update(struct adapter *padapter)
>>  
>>  void associated_clients_update(struct adapter *padapter, u8 updated)
>>  {
>> -	/* update associcated stations cap. */
>> +	/* update associated stations cap. */
>>  	if (updated) {
>>  		struct list_head *phead, *plist;
>>  		struct sta_info *psta = NULL;
>> @@ -972,7 +972,7 @@ void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta)
>>  		update_beacon(padapter, _HT_ADD_INFO_IE_, NULL, true);
>>  	}
>>  
>> -	/* update associcated stations cap. */
>> +	/* update associated stations cap. */
>>  	associated_clients_update(padapter,  beacon_updated);
>>  
>>  	DBG_88E("%s, updated =%d\n", __func__, beacon_updated);
>> @@ -1036,7 +1036,7 @@ u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta)
>>  		update_beacon(padapter, _HT_ADD_INFO_IE_, NULL, true);
>>  	}
>>  
>> -	/* update associcated stations cap. */
>> +	/* update associated stations cap. */
>>  
>>  	DBG_88E("%s, updated =%d\n", __func__, beacon_updated);
>>  
>> -- 
>> 2.7.4
>>
>>
> Does not apply to my tree :(
yes, I need to develop on the next branch, but not before.

-- 
Haowen Bai