Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9809097rwd; Wed, 21 Jun 2023 12:09:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7+FJ12DVBn3H59syR32OpGAHqJy4ajfQARsc9k+y5zUOLYtie0/YDr/+lf9GblHsAzdNdQ X-Received: by 2002:a05:6a00:15ca:b0:66a:4fc7:ad04 with SMTP id o10-20020a056a0015ca00b0066a4fc7ad04mr1468955pfu.14.1687374543510; Wed, 21 Jun 2023 12:09:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687374543; cv=none; d=google.com; s=arc-20160816; b=iv7aDK/rVemfLGJrn8ol30tnrlY6wZkfvKed+ASlecgode/zcFXnLqfg4zJeZBb2Yk J0peULp89EppjhAlPexADOkw9B5fFq7xkcttKnPOHN+aPS+Vk7mCsK9TVCCx8vj5MBf4 Lqlc68VqwUd5Ta50qggXmIn5j82002NagICzbA6gmi90mbKxN0Zw9y66FKC0TuUUPAG+ HsUyOJurDo6g5Xlcqn5TrBXuuUB8HFmGt+Hm5vp8kq4GAlYq36GwQCPIscgfDNAIpzuh pzd5/hj9LX9I2Zz0/WwqyVq0Ujh8HVaDf9lLFV21ziWodrNp6+Qc4S0QgKnb0JnkH0MK TDDw== 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=R3jx2b9Mk6wTwyAJZvyHLpveP2xgctvjKCyGVRIC4vU=; b=eR9KpliFRoMbhyX4OX8gRKOA9BFkMubs3PWfds6zR9uDkO8UVil4tHSBb++c9Og0zb fbiFOFZ+xSJqksUDuHptLnnLvNvIgFlLYebwNo3q7omLRaHkR7bPP4NyIvvz3y0jzlNC 625FedJwZ9LnBtmNimpMHYEn1xUz2kcAWucpKTpxvSXpXny9p0Y9l60F8IUXNMlkJJDF BBE0bplobrK4E01SDsm2SnO4FfvUwIGIl1fKM1zMDGoNiFjtxFdtHzc7SOGPMs2xbcff Wi0BWB864HDlZ4RFD5Nf2dVVqNW4jCaQMZNbONpTNoTK6HLkNYlTr8cH+EcYcTYTfuSV l3Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20221208 header.b=Ved+5VTc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p65-20020a625b44000000b0064f6a531c88si4422301pfb.323.2023.06.21.12.08.47; Wed, 21 Jun 2023 12:09:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20221208 header.b=Ved+5VTc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230121AbjFUSuQ (ORCPT + 99 others); Wed, 21 Jun 2023 14:50:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbjFUSuO (ORCPT ); Wed, 21 Jun 2023 14:50:14 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A41489B for ; Wed, 21 Jun 2023 11:50:13 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3f9bece8e19so11968825e9.1 for ; Wed, 21 Jun 2023 11:50:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20221208; t=1687373412; x=1689965412; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=R3jx2b9Mk6wTwyAJZvyHLpveP2xgctvjKCyGVRIC4vU=; b=Ved+5VTcRIF6F5DTcxJG++sULjUtB19mhxF9Ubo1HTbj3rR1uq1RmeGC5jjv4gKFBn Y4zgCc2hgv7ApEqFEMHpodirSQ1QL7kqDukbnW53opZYBRm7HYt2apoxVOJxo2wyNPrp yXZf+4FjZouvxQ166fOEHpVxxzHJxn83ktqUXjDa0rl/JTBJw6QRsWj/OU2PPwKp5RsN 3CpI655lSn3Gcw4KEUcXOSvupkXwUOcPpbcFmg+gnsCNCPPqyFPNqucN0VPZi1tBu6pz h9u9TvyyIkZ1xW0sfpx5kbBUiGbSR7E9/GldBhDinF2uLDYxqzST+lvsR08z81KhoTNa 7ooQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687373412; x=1689965412; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R3jx2b9Mk6wTwyAJZvyHLpveP2xgctvjKCyGVRIC4vU=; b=RqAriOUdp0osAVLllp5pVjk1a0UUtnZZMlZR/dxvqKfUDasWGSh2N9FCyGXLZmGLNg f4EhbxMp8lOErEw5E7rWEieV31poG7mznDXVG6mJu386i1VdBuhX+/LLAz4ulTl4c9Sv 1zTq8dMR/kUVniC5XqEkd4Id8wPhL102SGVdJ61zC+RbFvWnqPLD7Y02y9jmaDCd+JJC 2FGW6oNGFsBeGwxpor87kb1wPGwKYtmgT+ALfNwGQWTuqmkoUg+e0Bb08WhiXszFvx/D hItPwlTkiNsKujwb75s0F1JoovHSUDBrBCA2vU3fRHPkSFaxjpMHIiEjapgsPeN8Te0n SJdQ== X-Gm-Message-State: AC+VfDwvqfnOmmWDlaOpo7WQ9PacaanVEqqHT3NdVkQ06w8gYq17TbrW N42ugBcDqMIGxAVIKRCLzYQ= X-Received: by 2002:a7b:cbcc:0:b0:3f8:f9df:8da1 with SMTP id n12-20020a7bcbcc000000b003f8f9df8da1mr15148791wmi.32.1687373411993; Wed, 21 Jun 2023 11:50:11 -0700 (PDT) Received: from localhost.localdomain ([2a02:810a:9640:26a8:5d4c:afae:7fa:7038]) by smtp.gmail.com with ESMTPSA id v11-20020a7bcb4b000000b003f8d6647661sm16740107wmj.15.2023.06.21.11.50.11 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 21 Jun 2023 11:50:11 -0700 (PDT) From: Franziska Naepelt X-Google-Original-From: Franziska Naepelt To: franziska.naepelt@googlemail.com Cc: eperi1024@gmail.com, franziska.naepelt@gmail.com, gregkh@linuxfoundation.org, hdegoede@redhat.com, johannes.berg@intel.com, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, quic_vjakkam@quicinc.com, tegongkang@gmail.com Subject: [PATCH v2 1/5] staging: rtl8723bs: Fix indentation issues Date: Wed, 21 Jun 2023 20:50:01 +0200 Message-Id: <20230621185001.25144-1-franziska.naepelt@gmail.com> X-Mailer: git-send-email 2.39.2 (Apple Git-143) In-Reply-To: <20230621184635.25064-1-franziska.naepelt@gmail.com> References: <20230621184635.25064-1-franziska.naepelt@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following checkpatch indentation issues: - WARNING: suspect code indent for conditional statements (32, 48) - WARNING: suspect code indent for conditional statements (24, 24) - ERROR: code indent should use tabs where possible Signed-off-by: Franziska Naepelt --- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c index 84a9f4dd8f95..1afd1a93bcee 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c @@ -581,7 +581,7 @@ static int rtw_cfg80211_ap_set_encryption(struct net_device *dev, struct ieee_pa psecuritypriv->dot118021XGrpPrivacy = _WEP40_; if (param->u.crypt.key_len == 13) - psecuritypriv->dot118021XGrpPrivacy = _WEP104_; + psecuritypriv->dot118021XGrpPrivacy = _WEP104_; } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { psecuritypriv->dot118021XGrpPrivacy = _TKIP_; @@ -1305,7 +1305,7 @@ static int cfg80211_rtw_scan(struct wiphy *wiphy } else if (request->n_channels <= 4) { for (j = request->n_channels - 1; j >= 0; j--) for (i = 0; i < survey_times; i++) - memcpy(&ch[j*survey_times+i], &ch[j], sizeof(struct rtw_ieee80211_channel)); + memcpy(&ch[j*survey_times+i], &ch[j], sizeof(struct rtw_ieee80211_channel)); _status = rtw_sitesurvey_cmd(padapter, ssid, RTW_SSID_SCAN_AMOUNT, ch, survey_times * request->n_channels); } else { _status = rtw_sitesurvey_cmd(padapter, ssid, RTW_SSID_SCAN_AMOUNT, NULL, 0); @@ -2810,7 +2810,7 @@ int rtw_wdev_alloc(struct adapter *padapter, struct device *dev) wdev->netdev = pnetdev; wdev->iftype = NL80211_IFTYPE_STATION; /* will be init in rtw_hal_init() */ - /* Must sync with _rtw_init_mlme_priv() */ + /* Must sync with _rtw_init_mlme_priv() */ /* pmlmepriv->fw_state = WIFI_STATION_STATE */ padapter->rtw_wdev = wdev; pnetdev->ieee80211_ptr = wdev; -- 2.39.2 (Apple Git-143)