From nobody Mon May 11 06:19:19 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 BE155C433FE for ; Tue, 12 Apr 2022 23:20:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229608AbiDLXXN (ORCPT ); Tue, 12 Apr 2022 19:23:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229767AbiDLXW5 (ORCPT ); Tue, 12 Apr 2022 19:22:57 -0400 Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DCC1CF4B6 for ; Tue, 12 Apr 2022 15:09:22 -0700 (PDT) Received: by mail-qv1-xf29.google.com with SMTP id a10so228841qvm.8 for ; Tue, 12 Apr 2022 15:09:22 -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=ZPJRBS7EzVsf+onsY2rqgdhw/p5Dje+tIdQ4sGX/NOI=; b=Y/EkMUos4x9/7KMQS9R8H1jARGXB0cGwwmLvqhQTlyTSPT0umiwsD9oZNQLoh/iQHE ddGy2nLcnVT+sVYMKhsQXeSap60GmGZCczgiuU6gaUTIOF77mhyrk2QMBcaUZR8lu5Vi /1VXYzpjWogWKEzPT8dgN6oy5E6u2G/dv/GYZR2T+KssXrBiFbYzMPAfXm0A+0JyJaHu 6LuWltlr9TymGhCsoqfUZ4Y4UgA+rBhCkDKs3eUJKsfDubHQIRrrRWaptI7F+ozajn6c bYE4vaWLmIJ1EWRRvQ5tLN59WGebL0+wRMvD6Uk9ee5BHeT3HUSGIWZFphGY+Nysd9FM XXwQ== 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=ZPJRBS7EzVsf+onsY2rqgdhw/p5Dje+tIdQ4sGX/NOI=; b=4nJWIi0lH5LAXwpYzo0GSkj67UPozrnUIPP2HXuhnytdDiw+Mh9HSfk2HBo/kF9+VL 4x1PS0GllGXm8WQw8v+Htx9TUKygrdpM5AkEbYvQ3Eyq1YNNCSE4T6rC4FmFW3JLEZNS C9AAmzGnOP72Skt8+21CA3tMGIGmdcIH4pm11wfq04cC09sqMc5MPHmYW7GHUXxbGWaR GcWDoL1j9xmhQMDTpIQI7T6a4ezni+ePgzyJTTY1q4ULb59yC2g1Fvy7/NPezkzy2SmE 8Cf2YBsgHAg+yU9Xd9WEYjmG1xCL4DUU39r/hLRF5+3Y/cLL7OCUJq9Y0BXZlk704iko Xt4g== X-Gm-Message-State: AOAM532beyfj4Dzue5ZVttmNctsYdl1BVG+Ywr5IGFFSfwOFBo3azp7C SBjs6b80ADA5BsSPH/abyyNKFUw4wN6IeI10b8M= X-Google-Smtp-Source: ABdhPJzGTF8aYsoEDEOTseo8VEd8JLcz6GrPhf+S/G26uiMMWSxX3gykmd+5Y510yUx4T1sxlk093Q== X-Received: by 2002:a17:903:110c:b0:14d:8859:5c8 with SMTP id n12-20020a170903110c00b0014d885905c8mr39098969plh.156.1649799380096; Tue, 12 Apr 2022 14:36:20 -0700 (PDT) Received: from mahak-Inspiron-7570.iitr.ac.in ([103.37.201.167]) by smtp.googlemail.com with ESMTPSA id y3-20020a056a00190300b004fa2411bb92sm41915859pfi.93.2022.04.12.14.36.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 14:36:19 -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 v2] staging: r8188eu: correct multiple misspellings in driver r8188eu Date: Wed, 13 Apr 2022 03:05:39 +0530 Message-Id: <20220412213539.2945-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 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 c90f36dee1ea..a2b42779bc87 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 474391bf7cb5..fd445aa09377 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 @@ -5790,7 +5790,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 @@ -5888,7 +5888,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; @@ -6109,7 +6109,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 */ @@ -6160,7 +6160,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) { @@ -6740,7 +6740,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