Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2493813pxb; Sat, 23 Oct 2021 00:42:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1t1sTDQwyMm2KSdqhSM/x8UVDpJ4B1NqL6vDxvn9bPFZEZ+fjfg7IwRFRS3R7KpSrOg/U X-Received: by 2002:a17:906:2346:: with SMTP id m6mr3412733eja.328.1634974974718; Sat, 23 Oct 2021 00:42:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634974974; cv=none; d=google.com; s=arc-20160816; b=RSJZ7kkEu8Bs+Xt302RNket/da4kd76GaqfxL316Ivq09zjRpsp4spAfiWe6Gq+g4d rQZrZA9uGdWwTuYJpcHeUgJ6moGWNggyF7pKv+nf4shflzne5gMx15yXWi+ePgbpLfeJ sxFMeze8nd2FIr3kT/nU12GCwoYUlArP+BFLdJsHqQoggaQD4YI9/FVW2zzQMPJy0XmU hUB4lNJI6to5ekGYkmz0wWvP/T63IfY3VRU2DOUVt7JPFQ/lhtQv68XyA1Oh2ZmyBfsW z4OwAm8QGsRoWgYgGPWiqX2cWdzfc0u6sYJqkpJBm24kv6fL5NBA1TBlvrSc3BI+2HK+ oe4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MPnz3NtbdWVH33KNLzBSBKBvsqzVWtkwV9sLj0e2Gwg=; b=KFbAu2rtA8+x77D9Jc8xVeuHNavosSLxzlln8N885h1XaGX1b4Ax0yxQEQ/lDLHJD1 UDkBCcQhf1evv0ge/P+eGnGZsX403FFa+ZeYxp/dlkZNEFQMXzQIxVcf+cCKuO2HQols elguhk+n3+RkhdH0bSynU5ISUtSmOm9Eoyg9ua1A5KcI0OoHqlTV09Mg9nJMde78uPYN /Mfim71aBBKYA6KeT+TciDttM2fn6AMegA7jnekwIHGBuZA/oOEMtyOJQZUIy8wlxKiN UiTBKTgyQrlNwDsxIFJGZa6NllLX8C3X6ejwSUB+8hREswJKbHOo6GD2vCz1ZI4PpPwx vJBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cQrhRNpj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt11si2891325ejc.393.2021.10.23.00.42.30; Sat, 23 Oct 2021 00:42:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cQrhRNpj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230153AbhJWHj7 (ORCPT + 99 others); Sat, 23 Oct 2021 03:39:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230108AbhJWHj5 (ORCPT ); Sat, 23 Oct 2021 03:39:57 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F395CC061766 for ; Sat, 23 Oct 2021 00:37:38 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id t5-20020a17090a4e4500b001a0a284fcc2so7400775pjl.2 for ; Sat, 23 Oct 2021 00:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MPnz3NtbdWVH33KNLzBSBKBvsqzVWtkwV9sLj0e2Gwg=; b=cQrhRNpj6Mt8WAH4g+XXFcylw6gwNfowP1IfY6qM6tjvcOjcL6bQd740dSxBCflylu z1T9iyZHWNShR8Gzx42hFtKIVt3Iot7OGeui86BMhC82TC9HbaULF1qo602Lf6Pphe4f 8pMn3LlZ2QPlydYqQEjEeqyKl5Z8yiqwEEm2C9NikMoiBT9n+hUqXUi6eb3IntpVvXxw 3PS4A5mp82WUzjlr/NQ6aOeCxT+vk/apOnVWzzrNNjCqLe/1q8ZwT8WHBBMFZ6O2yk2Y yM5EwD++q2oN/0sX3gU2Dp4amMTM5fhUjjf6m3+xFyfXxWHOq/tazhN+mxsMF3pM/iNA QHpQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=MPnz3NtbdWVH33KNLzBSBKBvsqzVWtkwV9sLj0e2Gwg=; b=jJlz3G37sEprLI/Iy8lJmkb9STpC4MREKCCNU2rDvI7Vm+Z3rpLhu8s7u1JckzUHuR dkB2UT4NS9ekv6ike5/OhVgDDXQqaLr5ToFO03vjMC0AVPVE5lRiTjqPpstBrQJC8oqH lQ2E/D9rvzbJMomvIRGR/dFCr//DV2PEBWGEfaiWIBJ0hmM3/Xlh3EgbVRVdul4oIBRK 7Rnwc8S3tHIefkiwJqmYcaVH68TCL+Q2IPcWAYQ+ZhIXsRw2UNM+fuMLrZtZ/PLM2G/d lpiEr6TfsnjbiDzfyjTs4fRWqe8At+7JFn9Fla75EbKxHe8XJJi4k0dMfaP+HhrBYTvY WyQQ== X-Gm-Message-State: AOAM5315O/1e/TTajNxx9iNr//0cnd4XbMwJO40VnlWiv/azhBnj6I3r hC2a4y0Y/BTWnuFFiYsgTxk= X-Received: by 2002:a17:90a:4a85:: with SMTP id f5mr20170467pjh.92.1634974658427; Sat, 23 Oct 2021 00:37:38 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:5173:67c9:d8e4:2819:8ee8:8de4]) by smtp.googlemail.com with ESMTPSA id c4sm13949791pfv.144.2021.10.23.00.37.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Oct 2021 00:37:38 -0700 (PDT) From: Kushal Kothari To: gregkh@linuxfoundation.org Cc: kushalkothari285@gmail.com, kush19992810@gmail.com, outreachy-kernel@googlegroups.com, fabioaiuto83@gmail.com, ross.schm.dev@gmail.com, fmdefrancesco@gmail.com, marcocesati@gmail.com, straube.linux@gmail.com, philippesdixon@gmail.com, manuelpalenzuelamerino@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, mike.rapoport@gmail.com, kushalkotharitest@googlegroups.com Subject: [PATCH v4 3/4] staging: rtl8723bs: core: Remove unnecessary space after a cast Date: Sat, 23 Oct 2021 13:05:49 +0530 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove useless space after cast Signed-off-by: Kushal Kothari --- Changes in v4: Move the version notes Changes in v3: Enclose the version number inside the square bracket. Changes in v2: No changes drivers/staging/rtl8723bs/core/rtw_cmd.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c b/drivers/staging/rtl8723bs/core/rtw_cmd.c index 88f6b7405106..fce3256cc275 100644 --- a/drivers/staging/rtl8723bs/core/rtw_cmd.c +++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c @@ -922,7 +922,7 @@ u8 rtw_setstakey_cmd(struct adapter *padapter, struct sta_info *sta, u8 unicast_ memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN); if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) - psetstakey_para->algorithm = (unsigned char) psecuritypriv->dot11PrivacyAlgrthm; + psetstakey_para->algorithm = (unsigned char)psecuritypriv->dot11PrivacyAlgrthm; else GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); @@ -951,7 +951,7 @@ u8 rtw_setstakey_cmd(struct adapter *padapter, struct sta_info *sta, u8 unicast_ } init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); - ph2c->rsp = (u8 *) psetstakey_rsp; + ph2c->rsp = (u8 *)psetstakey_rsp; ph2c->rspsz = sizeof(struct set_stakey_rsp); res = rtw_enqueue_cmd(pcmdpriv, ph2c); } else { @@ -1002,7 +1002,7 @@ u8 rtw_clearstakey_cmd(struct adapter *padapter, struct sta_info *sta, u8 enqueu } init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_); - ph2c->rsp = (u8 *) psetstakey_rsp; + ph2c->rsp = (u8 *)psetstakey_rsp; ph2c->rspsz = sizeof(struct set_stakey_rsp); memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN); @@ -2027,7 +2027,7 @@ void rtw_setstaKey_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pc { struct sta_priv *pstapriv = &padapter->stapriv; - struct set_stakey_rsp *psetstakey_rsp = (struct set_stakey_rsp *) (pcmd->rsp); + struct set_stakey_rsp *psetstakey_rsp = (struct set_stakey_rsp *)(pcmd->rsp); struct sta_info *psta = rtw_get_stainfo(pstapriv, psetstakey_rsp->addr); if (!psta) @@ -2042,7 +2042,7 @@ void rtw_setassocsta_cmdrsp_callback(struct adapter *padapter, struct cmd_obj * struct sta_priv *pstapriv = &padapter->stapriv; struct mlme_priv *pmlmepriv = &padapter->mlmepriv; struct set_assocsta_parm *passocsta_parm = (struct set_assocsta_parm *)(pcmd->parmbuf); - struct set_assocsta_rsp *passocsta_rsp = (struct set_assocsta_rsp *) (pcmd->rsp); + struct set_assocsta_rsp *passocsta_rsp = (struct set_assocsta_rsp *)(pcmd->rsp); struct sta_info *psta = rtw_get_stainfo(pstapriv, passocsta_parm->addr); if (!psta) -- 2.25.1