Correction of typos in comments
v2 cover Correction of typos in comments
Correct typos in comments.
Misspellings found using checkpatch.pl.
---
R Veera Kumar (7):
staging: rtl8723bs: core: Correct typos in comments
staging: rtl8723bs: core: Correct typo in comment
staging: rtl8723bs: core: Correct typo in comment
staging: rtl8723bs: core: Correct a typo in comment
staging: rtl8723bs: core: Correct typos in comments
staging: rtl8723bs: core: Correct a typo in comment
staging: rtl8723bs: core: Correct a typo in comment
drivers/staging/rtl8723bs/core/rtw_cmd.c | 4 ++-- drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 2 +- drivers/staging/rtl8723bs/core/rtw_ioctl_set.c | 2 +- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 2 +- drivers/staging/rtl8723bs/core/rtw_recv.c | 10 +++++----- drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 2 +- drivers/staging/rtl8723bs/core/rtw_xmit.c | 4 ++-- 7 files changed, 13 insertions(+), 13 deletions(-)
Signature · 1 line
2.20.1
PATCH v2 1/7 staging: rtl8723bs: core: Correct typos in comments
Correct typos in comments.
Misspellings found using checkpatch.pl.
---
Changes in v2:
- Remove word "Fix" from subject line
- Change "C comments" to "comments" in subject line
- Change "C comments" to "comments" in body
--- drivers/staging/rtl8723bs/core/rtw_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8723bs/core/rtw_cmd.c +2 -2
@@ -520,7 +520,7 @@ int rtw_cmd_thread(void *context)rtw_free_cmd_obj (pcmd); }else {/* todo: !!! fill rsp_buf to pcmd->rsp if (pcmd->rsp!= NULL) */ -pcmd_callback (pcmd->padapter, pcmd);/* need conider that free cmd_obj in rtw_cmd_callback */ +pcmd_callback (pcmd->padapter, pcmd);/* need consider that free cmd_obj in rtw_cmd_callback */ } }else {RT_TRACE (_module_rtl871x_cmd_c_, _drv_err_, ("%s: cmdcode = 0x%x callback not defined!\n" , __func__, pcmd->cmdcode));
@@ -989,7 +989,7 @@ u8 rtw_setstakey_cmd(struct adapter *padapter, struct sta_info *sta, u8 unicast_memcpy (&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey,16 ); } -/* jeff: set this becasue at least sw key is ready */ +/* jeff: set this because at least sw key is ready */ padapter->securitypriv.busetkipkey = true;if (enqueue) {
Signature · 1 line
2.20.1
PATCH v2 2/7 staging: rtl8723bs: core: Correct typo in comment
In reply to R Veera KumarCorrect typo in comment.
Misspelling found using checkpatch.pl.
---
Changes in v2:
- Remove word "Fix" from subject line
- Change "C comments" to "comments" in subject line
- Change "C comments" to "comments" in body
--- drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/core/rtw_ieee80211.c +1 -1
@@ -217,7 +217,7 @@ u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, u* rtw_ies_remove_ie - Find matching IEs and remove * @ies: Address of IEs to search * @ies_len: Pointer of length of ies, will update to new length -* @offset: The offset to start scarch +* @offset: The offset to start search * @eid: Element ID to match * @oui: OUI to match * @oui_len: OUI length
Signature · 1 line
2.20.1
PATCH v2 3/7 staging: rtl8723bs: core: Correct typo in comment
In reply to R Veera KumarCorrect a single typo in comment.
Misspelling found using checkpatch.pl.
---
Changes in v2:
- Remove word "Fix" from subject line
- Change "C comments" to "comments" in subject line
- Change "C comments" to "comments" in body
--- drivers/staging/rtl8723bs/core/rtw_ioctl_set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/core/rtw_ioctl_set.c +1 -1
@@ -439,7 +439,7 @@ u8 rtw_set_802_11_infrastructure_mode(struct adapter *padapter,if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) {if (check_fwstate (pmlmepriv, _FW_LINKED) == true) { -rtw_indicate_disconnect (padapter);/* will clr Linked_state; before this function, we must have chked whether issue dis-assoc_cmd or not */ +rtw_indicate_disconnect (padapter);/* will clr Linked_state; before this function, we must have checked whether issue dis-assoc_cmd or not */ } }
Signature · 1 line
2.20.1
PATCH v2 4/7 staging: rtl8723bs: core: Correct a typo in comment
In reply to R Veera KumarCorrect a typo in C comment.
Misspelling found using checkpatch.pl.
---
Changes in v2:
- Remove word "Fix" from subject line
- Change "C comments" to "comments" in subject line
- Change "C comments" to "comments" in body
--- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/core/rtw_pwrctrl.c +1 -1
@@ -1193,7 +1193,7 @@ inline void rtw_set_ips_deny(struct adapter *padapter, u32 ms)/* * rtw_pwr_wakeup - Wake the NIC up from: 1)IPS. 2)USB autosuspend * @adapter: pointer to struct adapter structure -* @ips_deffer_ms: the ms wiil prevent from falling into IPS after wakeup +* @ips_deffer_ms: the ms will prevent from falling into IPS after wakeup * Return _SUCCESS or _FAIL */
Signature · 1 line
2.20.1
PATCH v2 5/7 staging: rtl8723bs: core: Correct typos in comments
In reply to R Veera KumarCorrect typos in comments.
Misspellings found using checkpatch.pl.
---
Changes in v2:
- Remove word "Fix" from subject line
- Change "C comments" to "comments" in subject line
- Change "C comments" to "comments" in body
--- drivers/staging/rtl8723bs/core/rtw_recv.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/staging/rtl8723bs/core/rtw_recv.c +5 -5
@@ -1179,7 +1179,7 @@ sint validate_recv_ctrl_frame(struct adapter *padapter, union recv_frame *precv_/* DBG_871X("after handling ps-poll, tim =%x\n", pstapriv->tim_bitmap); */ -/* upate BCN for TIM IE */ +/* update BCN for TIM IE */ /* update_BCNTIM(padapter); */ update_beacon (padapter, _TIM_IE_,NULL , true); }
@@ -1205,7 +1205,7 @@ sint validate_recv_ctrl_frame(struct adapter *padapter, union recv_frame *precv_ pstapriv->tim_bitmap &= ~BIT (psta->aid); -/* upate BCN for TIM IE */ +/* update BCN for TIM IE */ /* update_BCNTIM(padapter); */ update_beacon (padapter, _TIM_IE_,NULL , true); }
@@ -1953,7 +1953,7 @@ static int amsdu_to_msdu(struct adapter *padapter, union recv_frame *prframe)for (i =0 ; i < nr_subframes; i++) { sub_pkt = subframes[i]; -/* Indicat the packets to upper layer */ +/* Indicate the packets to upper layer */ if (sub_pkt) {rtw_os_recv_indicate_pkt (padapter, sub_pkt, &prframe->u.hdr.attrib); }
@@ -2606,14 +2606,14 @@ static void rtw_signal_stat_timer_hdl(struct timer_list *t)if (recvpriv->signal_strength_data.update_req ==0 ) {/* update_req is clear, means we got rx */ avg_signal_strength = recvpriv->signal_strength_data.avg_val; num_signal_strength = recvpriv->signal_strength_data.total_num; -/* after avg_vals are accquired, we can re-stat the signal values */ +/* after avg_vals are acquired, we can re-stat the signal values */ recvpriv->signal_strength_data.update_req =1 ; }if (recvpriv->signal_qual_data.update_req ==0 ) {/* update_req is clear, means we got rx */ avg_signal_qual = recvpriv->signal_qual_data.avg_val; num_signal_qual = recvpriv->signal_qual_data.total_num; -/* after avg_vals are accquired, we can re-stat the signal values */ +/* after avg_vals are acquired, we can re-stat the signal values */ recvpriv->signal_qual_data.update_req =1 ; }
Signature · 1 line
2.20.1
PATCH v2 6/7 staging: rtl8723bs: core: Correct a typo in comment
In reply to R Veera KumarCorrect a typo in comment.
Misspelling found using checkpatch.pl.
---
Changes in v2:
- Remove word "Fix" from subject line
- Change "C comments" to "comments" in subject line
- Change "C comments" to "comments" in body
--- drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/core/rtw_wlan_util.c +1 -1
@@ -1503,7 +1503,7 @@ void update_beacon_info(struct adapter *padapter, u8 *pframe, uint pkt_len, struswitch (pIE->ElementID) {case _VENDOR_SPECIFIC_IE_: -/* to update WMM paramter set while receiving beacon */ +/* to update WMM parameter set while receiving beacon */ if (!memcmp (pIE->data,WMM_PARA_OUI ,6 ) && pIE->Length ==WLAN_WMM_LEN )/* WMM */ if (WMM_param_handler (padapter, pIE))report_wmm_edca_update (padapter);
Signature · 1 line
2.20.1
PATCH v2 7/7 staging: rtl8723bs: core: Correct a typo in comment
In reply to R Veera KumarCorrect a typo in comment.
Misspelling found using checkpatch.pl.
---
Changes in v2:
- Remove word "Fix" from subject line
- Change "C comments" to "comments" in subject line
- Change "C comments" to "comments" in body
--- drivers/staging/rtl8723bs/core/rtw_xmit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8723bs/core/rtw_xmit.c +2 -2
@@ -1180,7 +1180,7 @@ s32 rtw_xmitframe_coalesce(struct adapter *padapter, _pkt *pkt, struct xmit_fram mpdu_len -= pattrib->icv_len;if (bmcst) { -/* don't do fragment to broadcat/multicast packets */ +/* don't do fragment to broadcast/multicast packets */ mem_sz =_rtw_pktfile_read (&pktfile, pframe, pattrib->pktlen); }else { mem_sz =_rtw_pktfile_read (&pktfile, pframe, mpdu_len);
@@ -2303,7 +2303,7 @@ sint xmitframe_enqueue_for_sleeping_sta(struct adapter *padapter, struct xmit_fr pstapriv->tim_bitmap |=BIT (psta->aid);if (update_tim) -/* upate BCN for TIM IE */ +/* update BCN for TIM IE */ update_beacon (padapter, _TIM_IE_,NULL , true); }
Signature · 1 line
2.20.1
Greg Kroah-Hartman
maintainerQuoted 12 lines · R Veera Kumar
Correct typos in comments.
Misspellings found using checkpatch.pl.---
R Veera Kumar (7):
staging: rtl8723bs: core: Correct typos in comments
staging: rtl8723bs: core: Correct typo in comment
staging: rtl8723bs: core: Correct typo in comment
staging: rtl8723bs: core: Correct a typo in comment
staging: rtl8723bs: core: Correct typos in comments
staging: rtl8723bs: core: Correct a typo in comment
staging: rtl8723bs: core: Correct a typo in comment
What changed from v1?
Also, you need unique subject lines.