Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2244352pxv; Sat, 17 Jul 2021 08:02:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfAUFOcF8mLKaKtVWpM7ghfrwnKVPnFvOl1MJVtfn1xvHCNQ0PP0i3ud1sa8F4ebfdfKFx X-Received: by 2002:aa7:c545:: with SMTP id s5mr22200650edr.182.1626534140750; Sat, 17 Jul 2021 08:02:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626534140; cv=none; d=google.com; s=arc-20160816; b=eSPU87TfncmUJ/DA8532VFJe/TZJ5IhoA4WT0g7etn1wF7SSV0Mfek3/p4yvn/vJlU EiZhqgRS/JWEMHyAGZDpGcV9hNPc/CIi9EW+k7tc/Ja17xuqAfnsDoLkh0NyeANMoHkx iAsxTBxthGab4k6wBMQC5Z/gzwAGSbI/wMqylJC2oTo9fQNpMN73CxJ/9PYAYgYm3VS3 hZq8aTXDav1UxTlI9to3HkkJ1UOzjRpAMujfkHjOpGNC4HxHds575zxUwl50hxtqxC5a N5O5UlqHK06ldESfUmq6Ca5Z+gP56aCWamit8iQH36kBjy4fVzr9b3BjRysEi1PJIQ4a H2wg== 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=xRK7NSI5UgeQ2tu+VHcDHeBzFj/hyQCQmKRmPBf8Kfs=; b=b9JVPmmClg7J53aG6rBJjYvXWZ+af6D0NXI3+7SIMfR0AjXBytWvlMSNDdMswaQrWR mIaUD2PXxq3E621S04FgVhN6tt+svlvDT5kRnZ/m7s3sU45GKzyAxTgDqMv9Rlzza2H5 UBZFpx0/EqnygbsBK//BXRa3EjsCyI1PSL6ZCcv50GbQ1dB5ZuBj9axHYDNMlPoE7GC0 LElvE2qRas2pE1mNgh9yAnzK6GRvMc4sQpsB3kbwi7T3F+E16ri5fdIVKtLnnWuz7k2n mztzYiPqDQmH3pP+Upu/uCBR/9FaMs187haKnWoGFl2nsiBedD/wvJ/lgl/ma4XhnyUL IZBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MbTWMunJ; 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 j12si2021052ejx.724.2021.07.17.08.01.57; Sat, 17 Jul 2021 08:02:20 -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=20161025 header.b=MbTWMunJ; 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 S234614AbhGQPAf (ORCPT + 99 others); Sat, 17 Jul 2021 11:00:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234425AbhGQPAB (ORCPT ); Sat, 17 Jul 2021 11:00:01 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3811C06175F for ; Sat, 17 Jul 2021 07:57:04 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id l17-20020a05600c1d11b029021f84fcaf75so9949362wms.1 for ; Sat, 17 Jul 2021 07:57:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xRK7NSI5UgeQ2tu+VHcDHeBzFj/hyQCQmKRmPBf8Kfs=; b=MbTWMunJVoMjkyYhtnHcM2TDQ7sRPyr2tD57XNBjilL/kSS0cRRGcPaf1b6npq9Mia Ur4BIDDVyYdcb+jAK2RTYv965IvcTETxwhtLVYX7v5NtCSsnvya4ywQnHY5TVBepiSY+ usd2CreaVL31Kc2ohHYTCGgB3N9MMPkCA35+BDzEvkqPP9/uRbJxX4iqKPfd/VQaqq5x rCKsF65kFPzljTfmpiaDPDZoWME6sojIoTd89chJLkwuJc0Is33bv4Ar2RJcMkQQ740V e1aS8knN0E/1jEJ/AATk1TVTctG1fGEREnCPEE1M6e7LCqP/+D9prD4OHtOt9+d61DiO /JTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xRK7NSI5UgeQ2tu+VHcDHeBzFj/hyQCQmKRmPBf8Kfs=; b=oTdLBHEMg1M9xUt5qfKwzLXbXzT8sakv1Ks6TADCif6Y0iKGHQsemiMS/0Chihmw2O TGlaZ+U4Lzr8mu8mVPIAO2iK1DXGDFrui1UBQ/h9iL7plh+Kk+R5NSJDz22h5TniQTPW kcuKxn1zogJtOk022+wh9WbnizfJB+h3UGrNPPdNy+QcA8AbqgEou79TDGlJW2DT2jUj VDIRzleU2wW7FcZf1DS6XYpY+fwPppfZUifJV+c5FbdcXSi6pPm4LCyMj/5qrFYpddbm UeGeUOCZ6jJqsCUQeNw7fGRki7BZm660xhU/8EXYZGoKJnWvDtcGlEnrukGcGtXZ0JVp TA3Q== X-Gm-Message-State: AOAM533D2iXld89vgVDuqFIiri72S6nD/K2pP6XuN9PbJ1aoI8Htxbbl v7EaMm3kwkEPth1z40wlgU3elxiwEWs= X-Received: by 2002:a7b:c181:: with SMTP id y1mr22998036wmi.106.1626533823324; Sat, 17 Jul 2021 07:57:03 -0700 (PDT) Received: from agape ([5.171.72.101]) by smtp.gmail.com with ESMTPSA id w8sm2598776wrk.10.2021.07.17.07.57.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Jul 2021 07:57:03 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: dan.carpenter@oracle.com, hdegoede@redhat.com, Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 07/10] staging: rtl8723bs: fix post-commit camel case issues Date: Sat, 17 Jul 2021 16:56:48 +0200 Message-Id: <6fd6d3266b5119330e15006ae610cb49b767bc59.1626533647.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.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 fix the following post-commit camel case issues: CHECK: Avoid CamelCase: 33: FILE: drivers/staging/rtl8723bs/hal/hal_com.c:152: + if (is_supported_24g(Adapter-> registrypriv.wireless_mode) == false) CHECK: Avoid CamelCase: 46: FILE: drivers/staging/rtl8723bs/include/ieee80211.h:159: +#define is_supported_24g(NetType) ((NetType) & SUPPORTED_24G_NETTYPE_MSK ? true : false) CHECK: Avoid CamelCase: 49: FILE: drivers/staging/rtl8723bs/include/ieee80211.h:161: +#define IsEnableHWCCK(NetType) is_supported_24g(NetType) Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/hal_com.c | 4 ++-- drivers/staging/rtl8723bs/include/ieee80211.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/hal_com.c b/drivers/staging/rtl8723bs/hal/hal_com.c index d18537fde4ed..4a112989899a 100644 --- a/drivers/staging/rtl8723bs/hal/hal_com.c +++ b/drivers/staging/rtl8723bs/hal/hal_com.c @@ -144,12 +144,12 @@ u8 hal_com_config_channel_plan( return chnlPlan; } -bool HAL_IsLegalChannel(struct adapter *Adapter, u32 Channel) +bool HAL_IsLegalChannel(struct adapter *adapter, u32 Channel) { bool bLegalChannel = true; if ((Channel <= 14) && (Channel >= 1)) { - if (is_supported_24g(Adapter->registrypriv.wireless_mode) == false) + if (is_supported_24g(adapter->registrypriv.wireless_mode) == false) bLegalChannel = false; } else { bLegalChannel = false; diff --git a/drivers/staging/rtl8723bs/include/ieee80211.h b/drivers/staging/rtl8723bs/include/ieee80211.h index 2fa6ced333a0..f29b7a92d9ac 100644 --- a/drivers/staging/rtl8723bs/include/ieee80211.h +++ b/drivers/staging/rtl8723bs/include/ieee80211.h @@ -156,9 +156,9 @@ enum network_type { #define is_legacy_only(net_type) ((net_type) == ((net_type) & (WIRELESS_11BG))) -#define is_supported_24g(NetType) ((NetType) & SUPPORTED_24G_NETTYPE_MSK ? true : false) +#define is_supported_24g(net_type) ((net_type) & SUPPORTED_24G_NETTYPE_MSK ? true : false) -#define IsEnableHWCCK(NetType) is_supported_24g(NetType) +#define IsEnableHWCCK(net_type) is_supported_24g(net_type) #define IsEnableHWOFDM(NetType) (((NetType) & (WIRELESS_11G|WIRELESS_11_24N)) ? true : false) #define IsSupportedRxCCK(NetType) IsEnableHWCCK(NetType) -- 2.20.1