From nobody Mon May 11 04:21:11 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6DADAC433EF for ; Thu, 14 Apr 2022 21:53:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239700AbiDNVzr (ORCPT ); Thu, 14 Apr 2022 17:55:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232417AbiDNVzo (ORCPT ); Thu, 14 Apr 2022 17:55:44 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA3E27A9A7 for ; Thu, 14 Apr 2022 14:53:13 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id a16-20020a17090a6d9000b001c7d6c1bb13so6928381pjk.4 for ; Thu, 14 Apr 2022 14:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs-iitr-ac-in.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=5vNqDBnpadD/QERZEu5w63uXKzZ75hm8iP+4mptmKR0=; b=mBiilraeyC3bvH336FhBmPNvuD1C9f/iUbeVExO1TU4umXI63Xa6yFbvxCsP5jHv46 Sn72bKpXOwUf2HimsZiWvV415Ai7MeSRmbIsmzMKVIRRKMgW/632AOOTb2aIf5vaVKh1 eEytNCpReB1zFTFsNuyJtjc145AQvQNCqz5ozyL2al5Rlsnok9cQ0sfIUM3WDMwH37oN yP+1ZgvlCXjLHpOUXjyhlbLaWA/O+KEBoQ+Ny106lDh2QF2jHo2qw3B68zDBUeTjCewG wmkcsGeGN6kPoBDWkyNxFQGk5XXOxKEVasNchKvhsKkIzQ//28S2lqDKLPHefrNT9uZu HfCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=5vNqDBnpadD/QERZEu5w63uXKzZ75hm8iP+4mptmKR0=; b=xMzNkSwquxHrAbIIPiKXyCEd/s65ww/ZGP4sC/3NbHYvZjKTwbIemIHyWfC24/X+iT EF9HqUc2pP4jQbUSNy7JDZUqdy+1Yf2O3vY6F40AGQOS3hEsJOJh0kNUnMHdCdKGMaWG 5XMx7SKJbnbFP3MqDzQnXRq7drSRJis5OZhUc0I/0U52wNoJj8B8G50VcZzKSkj2hg5b ZKkLQvPkF7cR7CUBXZSk+jSZ4abK9xVKymypK79g/wpH+952FiEp/9ZkyhYuNA+lr2vj eTrsSpfsWsV9iTBN+E6tayybla76N7yHurykGaLB/XQ8WLrKCysKMcnyWwqjGmMUlmBp zLQg== X-Gm-Message-State: AOAM532/GhRz5Bd8KIm7NSyObhKFnX+yNL5SP/pGpIWJjq267iVlcxym WBMCOKtOObqVDzVEMH4DuSk1Dg== X-Google-Smtp-Source: ABdhPJzDwL36O/oHpjUPvxRENcdfeAhDmhy3VlxzACh8EFRekL2BtzwcxcygyEtPsWLxdP0mya7VZA== X-Received: by 2002:a17:90b:1bc2:b0:1c9:9cd1:a4fe with SMTP id oa2-20020a17090b1bc200b001c99cd1a4femr661752pjb.136.1649973191393; Thu, 14 Apr 2022 14:53:11 -0700 (PDT) Received: from mahak-Inspiron-7570.iitr.ac.in ([103.37.201.168]) by smtp.googlemail.com with ESMTPSA id d6-20020a056a00244600b004f701135460sm794842pfj.146.2022.04.14.14.53.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Apr 2022 14:53:11 -0700 (PDT) From: Mahak Gupta To: Larry.Finger@lwfinger.net, phil@philpotter.co.uk, gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Cc: Mahak Gupta Subject: [PATCH v3] staging: r8188eu: correct multiple misspellings Date: Fri, 15 Apr 2022 03:23:02 +0530 Message-Id: <20220414215302.3690-1-mahak_g@cs.iitr.ac.in> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Fix multiple spelling errors in comments reported by checkpatch. Signed-off-by: Mahak Gupta --- drivers/staging/r8188eu/core/rtw_ioctl_set.c | 2 +- drivers/staging/r8188eu/core/rtw_mlme.c | 10 +++--- drivers/staging/r8188eu/core/rtw_mlme_ext.c | 36 ++++++++++---------- drivers/staging/r8188eu/core/rtw_recv.c | 8 ++--- drivers/staging/r8188eu/core/rtw_xmit.c | 8 ++--- 5 files changed, 32 insertions(+), 32 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_ioctl_set.c b/drivers/staging= /r8188eu/core/rtw_ioctl_set.c index 4b78e42d180d..9df6fb122bc5 100644 --- a/drivers/staging/r8188eu/core/rtw_ioctl_set.c +++ b/drivers/staging/r8188eu/core/rtw_ioctl_set.c @@ -290,7 +290,7 @@ u8 rtw_set_802_11_infrastructure_mode(struct adapter *p= adapter, =20 if ((*pold_state =3D=3D Ndis802_11Infrastructure) || (*pold_state =3D=3D= Ndis802_11IBSS)) { if (check_fwstate(pmlmepriv, _FW_LINKED)) - rtw_indicate_disconnect(padapter); /* will clr Linked_state; before th= is function, we must have chked whether issue dis-assoc_cmd or not */ + rtw_indicate_disconnect(padapter); /* will clr Linked_state; before th= is function, we must have checked whether issue dis-assoc_cmd or not */ } =20 *pold_state =3D networktype; diff --git a/drivers/staging/r8188eu/core/rtw_mlme.c b/drivers/staging/r818= 8eu/core/rtw_mlme.c index aa39f07847c2..93f7d6e3df7f 100644 --- a/drivers/staging/r8188eu/core/rtw_mlme.c +++ b/drivers/staging/r8188eu/core/rtw_mlme.c @@ -193,7 +193,7 @@ void _rtw_free_network_nolock(struct mlme_priv *pmlmepr= iv, struct wlan_network * /* return the wlan_network with the matching addr =20 - Shall be calle under atomic context... to avoid possible racing condition= ... + Shall be called under atomic context... to avoid possible racing conditio= n... */ struct wlan_network *_rtw_find_network(struct __queue *scanned_queue, u8 *= addr) { @@ -329,7 +329,7 @@ void rtw_free_network_queue(struct adapter *dev, u8 isf= reeall) /* return the wlan_network with the matching addr =20 - Shall be calle under atomic context... to avoid possible racing condition= ... + Shall be called under atomic context... to avoid possible racing conditio= n... */ struct wlan_network *rtw_find_network(struct __queue *scanned_queue, u8 *a= ddr) { @@ -912,7 +912,7 @@ static struct sta_info *rtw_joinbss_update_stainfo(stru= ct adapter *padapter, str } /* Commented by Albert 2012/07/21 */ /* When doing the WPS, the wps_ie_len won't equal to 0 */ - /* And the Wi-Fi driver shouldn't allow the data packet to be tramsmitt= ed. */ + /* And the Wi-Fi driver shouldn't allow the data packet to be transmitt= ed. */ if (padapter->securitypriv.wps_ie_len !=3D 0) { psta->ieee8021x_blocked =3D true; padapter->securitypriv.wps_ie_len =3D 0; @@ -1304,7 +1304,7 @@ void rtw_stadel_event_callback(struct adapter *adapte= r, u8 *pbuf) } =20 /* -* _rtw_join_timeout_handler - Timeout/faliure handler for CMD JoinBss +* _rtw_join_timeout_handler - Timeout/failure handler for CMD JoinBss * @adapter: pointer to struct adapter structure */ void _rtw_join_timeout_handler (struct adapter *adapter) @@ -1339,7 +1339,7 @@ void _rtw_join_timeout_handler (struct adapter *adapt= er) } =20 /* -* rtw_scan_timeout_handler - Timeout/Faliure handler for CMD SiteSurvey +* rtw_scan_timeout_handler - Timeout/Failure handler for CMD SiteSurvey * @adapter: pointer to struct adapter structure */ void rtw_scan_timeout_handler (struct adapter *adapter) diff --git a/drivers/staging/r8188eu/core/rtw_mlme_ext.c b/drivers/staging/= r8188eu/core/rtw_mlme_ext.c index 66dd06371991..10cc87a1ee5d 100644 --- a/drivers/staging/r8188eu/core/rtw_mlme_ext.c +++ b/drivers/staging/r8188eu/core/rtw_mlme_ext.c @@ -156,7 +156,7 @@ static struct rt_channel_plan_map RTW_ChannelPlanMap[RT= _CHANNEL_DOMAIN_MAX] =3D { {0x03}, /* 0x41, RT_CHANNEL_DOMAIN_GLOBAL_DOAMIN_2G */ }; =20 -static struct rt_channel_plan_map RTW_CHANNEL_PLAN_MAP_REALTEK_DEFINE =3D = {0x03}; /* use the conbination for max channel numbers */ +static struct rt_channel_plan_map RTW_CHANNEL_PLAN_MAP_REALTEK_DEFINE =3D = {0x03}; /* use the combination for max channel numbers */ =20 /* * Search the @param channel_num in given @param channel_set @@ -1733,7 +1733,7 @@ void issue_p2p_GO_request(struct adapter *padapter, u= 8 *raddr) p2pie[p2pielen++] =3D 0x09; /* WFA P2P v1.0 */ =20 /* Commented by Albert 20110306 */ - /* According to the P2P Specification, the group negoitation request fram= e should contain 9 P2P attributes */ + /* According to the P2P Specification, the group negotiation request fram= e should contain 9 P2P attributes */ /* 1. P2P Capability */ /* 2. Group Owner Intent */ /* 3. Configuration Timeout */ @@ -2088,7 +2088,7 @@ static void issue_p2p_GO_response(struct adapter *pad= apter, u8 *raddr, u8 *frame p2pie[p2pielen++] =3D 0x09; /* WFA P2P v1.0 */ =20 /* Commented by Albert 20100908 */ - /* According to the P2P Specification, the group negoitation response fra= me should contain 9 P2P attributes */ + /* According to the P2P Specification, the group negotiation response fra= me should contain 9 P2P attributes */ /* 1. Status */ /* 2. P2P Capability */ /* 3. Group Owner Intent */ @@ -2384,7 +2384,7 @@ static void issue_p2p_GO_confirm(struct adapter *pada= pter, u8 *raddr, u8 result) p2pie[p2pielen++] =3D 0x09; /* WFA P2P v1.0 */ =20 /* Commented by Albert 20110306 */ - /* According to the P2P Specification, the group negoitation request fram= e should contain 5 P2P attributes */ + /* According to the P2P Specification, the group negotiation request fram= e should contain 5 P2P attributes */ /* 1. Status */ /* 2. P2P Capability */ /* 3. Operating Channel */ @@ -4009,7 +4009,7 @@ struct xmit_frame *alloc_mgtxmitframe(struct xmit_pri= v *pxmitpriv) =20 /*************************************************************************= *** =20 -Following are some TX fuctions for WiFi MLME +Following are some TX functions for WiFi MLME =20 **************************************************************************= ***/ =20 @@ -4611,7 +4611,7 @@ int issue_probereq_ex(struct adapter *padapter, struc= t ndis_802_11_ssid *pssid, return ret; } =20 -/* if psta =3D=3D NULL, indiate we are station(client) now... */ +/* if psta =3D=3D NULL, indicate we are station(client) now... */ void issue_auth(struct adapter *padapter, struct sta_info *psta, unsigned = short status) { struct xmit_frame *pmgntframe; @@ -5010,7 +5010,7 @@ void issue_assocreq(struct adapter *padapter) if (!padapter->registrypriv.wifi_spec) { /* Commented by Kurt 20110629 */ /* In some older APs, WPS handshake */ - /* would be fail if we append vender extensions informations to AP */ + /* would be fail if we append vender extensions information to AP */ if (!memcmp(pIE->data, WPS_OUI, 4)) pIE->Length =3D 14; } @@ -5165,7 +5165,7 @@ void issue_assocreq(struct adapter *padapter) kfree(pmlmepriv->assoc_req); } =20 -/* when wait_ack is ture, this function shoule be called at process contex= t */ +/* when wait_ack is true, this function should be called at process contex= t */ static int _issue_nulldata(struct adapter *padapter, unsigned char *da, un= signed int power_mode, int wait_ack) { int ret =3D _FAIL; @@ -5234,7 +5234,7 @@ static int _issue_nulldata(struct adapter *padapter, = unsigned char *da, unsigned return ret; } =20 -/* when wait_ms > 0 , this function shoule be called at process context */ +/* when wait_ms > 0 , this function should be called at process context */ /* da =3D=3D NULL for station mode */ int issue_nulldata(struct adapter *padapter, unsigned char *da, unsigned i= nt power_mode, int try_cnt, int wait_ms) { @@ -5243,7 +5243,7 @@ int issue_nulldata(struct adapter *padapter, unsigned= char *da, unsigned int pow struct mlme_ext_priv *pmlmeext =3D &padapter->mlmeextpriv; struct mlme_ext_info *pmlmeinfo =3D &pmlmeext->mlmext_info; =20 - /* da =3D=3D NULL, assum it's null data for sta to ap*/ + /* da =3D=3D NULL, assume it's null data for sta to ap*/ if (!da) da =3D get_my_bssid(&pmlmeinfo->network); =20 @@ -5267,7 +5267,7 @@ int issue_nulldata(struct adapter *padapter, unsigned= char *da, unsigned int pow return ret; } =20 -/* when wait_ack is ture, this function shoule be called at process contex= t */ +/* when wait_ack is true, this function should be called at process contex= t */ static int _issue_qos_nulldata(struct adapter *padapter, unsigned char *da= , u16 tid, int wait_ack) { int ret =3D _FAIL; @@ -5340,7 +5340,7 @@ static int _issue_qos_nulldata(struct adapter *padapt= er, unsigned char *da, u16 return ret; } =20 -/* when wait_ms > 0 , this function shoule be called at process context */ +/* when wait_ms > 0 , this function should be called at process context */ /* da =3D=3D NULL for station mode */ int issue_qos_nulldata(struct adapter *padapter, unsigned char *da, u16 ti= d, int try_cnt, int wait_ms) { @@ -5349,7 +5349,7 @@ int issue_qos_nulldata(struct adapter *padapter, unsi= gned char *da, u16 tid, int struct mlme_ext_priv *pmlmeext =3D &padapter->mlmeextpriv; struct mlme_ext_info *pmlmeinfo =3D &pmlmeext->mlmext_info; =20 - /* da =3D=3D NULL, assum it's null data for sta to ap*/ + /* da =3D=3D NULL, assume it's null data for sta to ap*/ if (!da) da =3D get_my_bssid(&pmlmeinfo->network); =20 @@ -5783,7 +5783,7 @@ void clear_beacon_valid_bit(struct adapter *adapter) =20 /*************************************************************************= *** =20 -Following are some utitity fuctions for WiFi MLME +Following are some utility functions for WiFi MLME =20 **************************************************************************= ***/ =20 @@ -5895,7 +5895,7 @@ void site_survey(struct adapter *padapter) } else { /* 20100721:Interrupt scan operation here. */ /* For SW antenna diversity before link, it needs to switch to another= antenna and scan again. */ - /* It compares the scan result and select beter one to do connection. = */ + /* It compares the scan result and select better one to do connection.= */ if (AntDivBeforeLink8188E(padapter)) { pmlmeext->sitesurvey_res.bss_cnt =3D 0; pmlmeext->sitesurvey_res.channel_idx =3D -1; @@ -6156,7 +6156,7 @@ void start_create_ibss(struct adapter *padapter) /* update wireless mode */ update_wireless_mode(padapter); =20 - /* udpate capability */ + /* update capability */ caps =3D rtw_get_capability((struct wlan_bssid_ex *)pnetwork); update_capinfo(padapter, caps); if (caps & cap_IBSS) {/* adhoc master */ @@ -6206,7 +6206,7 @@ void start_clnt_join(struct adapter *padapter) /* update wireless mode */ update_wireless_mode(padapter); =20 - /* udpate capability */ + /* update capability */ caps =3D rtw_get_capability((struct wlan_bssid_ex *)pnetwork); update_capinfo(padapter, caps); if (caps & cap_ESS) { @@ -6784,7 +6784,7 @@ void mlmeext_joinbss_event_callback(struct adapter *p= adapter, int join_res) /* BCN interval */ rtw_write16(padapter, REG_BCN_INTERVAL, pmlmeinfo->bcn_interval); =20 - /* udpate capability */ + /* update capability */ update_capinfo(padapter, pmlmeinfo->capability); =20 /* WMM, Update EDCA param */ diff --git a/drivers/staging/r8188eu/core/rtw_recv.c b/drivers/staging/r818= 8eu/core/rtw_recv.c index 91a6e0f035f4..a3f71697f6d7 100644 --- a/drivers/staging/r8188eu/core/rtw_recv.c +++ b/drivers/staging/r8188eu/core/rtw_recv.c @@ -877,7 +877,7 @@ static void validate_recv_ctrl_frame(struct adapter *pa= dapter, if (psta->sleepq_len =3D=3D 0) { pstapriv->tim_bitmap &=3D ~BIT(psta->aid); =20 - /* upate BCN for TIM IE */ + /* update BCN for TIM IE */ /* update_BCNTIM(padapter); */ update_beacon(padapter, _TIM_IE_, NULL, false); } @@ -891,7 +891,7 @@ static void validate_recv_ctrl_frame(struct adapter *pa= dapter, =20 pstapriv->tim_bitmap &=3D ~BIT(psta->aid); =20 - /* upate BCN for TIM IE */ + /* update BCN for TIM IE */ /* update_BCNTIM(padapter); */ update_beacon(padapter, _TIM_IE_, NULL, false); } @@ -1810,13 +1810,13 @@ void rtw_signal_stat_timer_hdl(struct timer_list *t) } else { if (recvpriv->signal_strength_data.update_req =3D=3D 0) {/* update_req = is clear, means we got rx */ avg_signal_strength =3D recvpriv->signal_strength_data.avg_val; - /* 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 =3D 1; } =20 if (recvpriv->signal_qual_data.update_req =3D=3D 0) {/* update_req is c= lear, means we got rx */ avg_signal_qual =3D recvpriv->signal_qual_data.avg_val; - /* 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 =3D 1; } =20 diff --git a/drivers/staging/r8188eu/core/rtw_xmit.c b/drivers/staging/r818= 8eu/core/rtw_xmit.c index 029b994e1b71..2a686b5c65b1 100644 --- a/drivers/staging/r8188eu/core/rtw_xmit.c +++ b/drivers/staging/r8188eu/core/rtw_xmit.c @@ -958,7 +958,7 @@ s32 rtw_xmitframe_coalesce(struct adapter *padapter, st= ruct sk_buff *pkt, struct } =20 if (bmcst) { - /* don't do fragment to broadcat/multicast packets */ + /* don't do fragment to broadcast/multicast packets */ mem_sz =3D _rtw_pktfile_read(&pktfile, pframe, pattrib->pktlen); } else { mem_sz =3D _rtw_pktfile_read(&pktfile, pframe, mpdu_len); @@ -1768,7 +1768,7 @@ int xmitframe_enqueue_for_sleeping_sta(struct adapter= *padapter, struct xmit_fra pstapriv->tim_bitmap |=3D BIT(0);/* */ pstapriv->sta_dz_bitmap |=3D BIT(0); =20 - update_beacon(padapter, _TIM_IE_, NULL, false);/* tx bc/mc packets afte= r upate bcn */ + update_beacon(padapter, _TIM_IE_, NULL, false);/* tx bc/mc packets afte= r update bcn */ =20 ret =3D true; } @@ -1818,7 +1818,7 @@ int xmitframe_enqueue_for_sleeping_sta(struct adapter= *padapter, struct xmit_fra pstapriv->tim_bitmap |=3D BIT(psta->aid); =20 if (psta->sleepq_len =3D=3D 1) { - /* upate BCN for TIM IE */ + /* update BCN for TIM IE */ update_beacon(padapter, _TIM_IE_, NULL, false); } } @@ -2087,7 +2087,7 @@ void xmit_delivery_enabled_frames(struct adapter *pad= apter, struct sta_info *pst if ((psta->sleepq_ac_len =3D=3D 0) && (!psta->has_legacy_ac) && (wmmps_a= c)) { pstapriv->tim_bitmap &=3D ~BIT(psta->aid); =20 - /* upate BCN for TIM IE */ + /* update BCN for TIM IE */ update_beacon(padapter, _TIM_IE_, NULL, false); } } --=20 2.17.1