Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3189527rdg; Tue, 17 Oct 2023 07:16:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE/NgpT/+1koQgpRRujPXb5xVT/KJaD/St4lIp+mTZJclXqRHBWk5S6V6xR+5CCUhlLy9HE X-Received: by 2002:a05:6870:815:b0:1e9:ba96:272e with SMTP id fw21-20020a056870081500b001e9ba96272emr2658269oab.10.1697552172100; Tue, 17 Oct 2023 07:16:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697552172; cv=none; d=google.com; s=arc-20160816; b=VJKocqEuTAzshrGinui4lZRxnMd1TI5jXs4c8s2ji88e1sNdRtsFzVHxc6CC3O0hPH Oc2klFcI6Pl0XKkiS6X/5JkGrq8BqWj5kg0MvEzfpXEjXjzyi5dYGIEHYZ4GQgEcPyvQ T3nC1pBYybxTrQLYyVCOeEc2JTMw9eZ7relqZ10qOuBRzUBjPmSwBXJNEjRamBD3WT+F wfGu2VjG6jLH+wQwrSTf5h4MgH0I9fniarCC7Z4Ga47E8dMzqKo3HDfe/0esqIDRcNL3 KEWpCb35eQkVP8zn/T4M03rdinQ8NXITK2HWeUKb3WiCSJ25i0ATkIqAe/KVZKllzwRW BsQw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=iqwQ+7rqqmIMspEGesJUa+9eYiX8AvPDFecFy0NEhJI=; fh=yA30TivmbF8U9xPr1aRCskTDSDKFnBRanyW4gpbavwY=; b=LNTBOe5ttaIY4DZNb0OcJqAol+yVamY2uVdJvyfknyZJpb3ZlognHqrFPg/TsaTVSy 9LEjY1P9EuQB588HtoIMxvos/X5UFo1xe9MRCPkafqKFlL9mCoRByb2b5FxDrrBRIJhG CRwuf8muy+I3m6USoLJcqWqVftaAWZtEAsRSww8rk9UyMFxLJclc5XyE4NGukyXYzChk QiM/wvPzk6lehkFVTaT1WKyh5wyaB6gaG/HV3138d3tPxV201AjTpcO9DpjiH1VmcjI3 B075vGL4gY460t/uJYM7HuYdQDQ9DtFSg/KpU2J1jQZMYjdpbGP5Rur4X265vSiFgy3d vDpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MWRpqap0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id cb21-20020a056a02071500b005b245229fcasi1936106pgb.403.2023.10.17.07.16.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 07:16:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MWRpqap0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 6229B806138E; Tue, 17 Oct 2023 07:16:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344085AbjJQOP5 (ORCPT + 99 others); Tue, 17 Oct 2023 10:15:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344071AbjJQOPx (ORCPT ); Tue, 17 Oct 2023 10:15:53 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AED6F11A for ; Tue, 17 Oct 2023 07:15:49 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1bdf4752c3cso34561725ad.2 for ; Tue, 17 Oct 2023 07:15:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697552148; x=1698156948; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=iqwQ+7rqqmIMspEGesJUa+9eYiX8AvPDFecFy0NEhJI=; b=MWRpqap0jSV/33P+VyV9Sjgz6Yb2JS66xc0vnurT6pes9obGOw07jjG+hXDH2v2njd VVi8X8S6fkhGsj26Pw+B2QIy0qJowc4cIytKDq/gWbqk8YA+WG7XBVOOMqtvcwsxV4V8 t5uHVOe9mlt/+4Bja8uAjrY9L3nnivyB/MRe3pQrzYGay1Z+Dt4vif/QlVMYIHWV9dEU YB13Qqy38+qWRKd7OudJtHSbxIPY8akE376Uuu3p4mAmNA92KSRet+RdbIV6GbFGYCTb I7FHEdS1B1yEEF/+VDiTZb2Cw/T+tdvY2VoyfX3iu1oiiQndiH+IOmWAyh5Fmtd7Xgi0 adrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697552148; x=1698156948; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iqwQ+7rqqmIMspEGesJUa+9eYiX8AvPDFecFy0NEhJI=; b=AQOQSnFJA5Z2I/XvHkDtnHGAY275WEeyRScPzQzKbDbDoD/k80WucB9EaIt/xIMbd4 kYiXDkRsL9+d76PVAsWxgsEZvQgsZvgtR7IXzrQIhwjrlbbtDv2bKYUIT3mS5d2HA/Qc 1ZYqSAxSwRWM3ViYPCvM9KqhgMxmGJYdVbspk02IfvBW7kKmKYa+m6R7OohSJ3O28aLs rz1w1uTxArFu01bvTFqvBM0XYU2cHB3gtr9NcFUxASdipIojf6dmtFH3EZhunTa/p8bf 7D9Lz/Ce6DhviyNeqLiyodmWxnQEttAd7pIYNxxBH8qQz2H8FKRTHZbZ71DrYy9Ha3WU 7ANQ== X-Gm-Message-State: AOJu0YyXRR+80o9uFvnVTYth8+H84Sge93TMLbFAVhrvsnmAp93a+5gE LcWZyWPqBLcLCGO4njTQ73Y= X-Received: by 2002:a17:903:487:b0:1c9:ff46:162d with SMTP id jj7-20020a170903048700b001c9ff46162dmr2294311plb.22.1697552148350; Tue, 17 Oct 2023 07:15:48 -0700 (PDT) Received: from ubuntu.. ([122.181.68.128]) by smtp.gmail.com with ESMTPSA id q5-20020a170902788500b001ca222edc16sm1590234pll.135.2023.10.17.07.15.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 07:15:47 -0700 (PDT) From: Pavan Bobba To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Pavan Bobba Subject: [PATCH] staging: vt6655: Type encoding info dropped from variable name "bUpdateBBVGA" Date: Tue, 17 Oct 2023 19:45:10 +0530 Message-Id: <20231017141509.351301-1-opensource206@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 17 Oct 2023 07:16:09 -0700 (PDT) variable name "bUpdateBBVGA" updated like below: a.type encoding info dropped from name b.camelcase name replaced by snakecase Issue found by checkpatch Signed-off-by: Pavan Bobba --- drivers/staging/vt6655/baseband.c | 2 +- drivers/staging/vt6655/channel.c | 2 +- drivers/staging/vt6655/device.h | 2 +- drivers/staging/vt6655/device_main.c | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/vt6655/baseband.c b/drivers/staging/vt6655/baseband.c index 7d47b266b87e..f7824396c5ff 100644 --- a/drivers/staging/vt6655/baseband.c +++ b/drivers/staging/vt6655/baseband.c @@ -2087,7 +2087,7 @@ bool bb_vt3253_init(struct vnt_private *priv) /* {{ RobertYu: 20050104 */ } else { /* No VGA Table now */ - priv->bUpdateBBVGA = false; + priv->update_bbvga = false; priv->bbvga[0] = 0x1C; } diff --git a/drivers/staging/vt6655/channel.c b/drivers/staging/vt6655/channel.c index 6ac7d470c041..c11bc2dbc356 100644 --- a/drivers/staging/vt6655/channel.c +++ b/drivers/staging/vt6655/channel.c @@ -86,7 +86,7 @@ bool set_channel(struct vnt_private *priv, struct ieee80211_channel *ch) return ret; /* Set VGA to max sensitivity */ - if (priv->bUpdateBBVGA && + if (priv->update_bbvga && priv->bbvga_current != priv->bbvga[0]) { priv->bbvga_current = priv->bbvga[0]; diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index 68bfadacfa7c..b166d296b82d 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -246,7 +246,7 @@ struct vnt_private { unsigned char byAutoFBCtrl; /* For Update BaseBand VGA Gain Offset */ - bool bUpdateBBVGA; + bool update_bbvga; unsigned int uBBVGADiffCount; unsigned char bbvga_new; unsigned char bbvga_current; diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index b08fcf7e6edc..b654fc24d725 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -179,7 +179,7 @@ device_set_options(struct vnt_private *priv) priv->byBBType = priv->opts.bbp_type; priv->byPacketType = priv->byBBType; priv->byAutoFBCtrl = AUTO_FB_0; - priv->bUpdateBBVGA = true; + priv->update_bbvga = true; priv->preamble_type = 0; pr_debug(" byShortRetryLimit= %d\n", (int)priv->byShortRetryLimit); @@ -423,7 +423,7 @@ static void device_init_registers(struct vnt_private *priv) /* initialize BBP registers */ bb_vt3253_init(priv); - if (priv->bUpdateBBVGA) { + if (priv->update_bbvga) { priv->bbvga_current = priv->bbvga[0]; priv->bbvga_new = priv->bbvga_current; bb_set_vga_gain_offset(priv, priv->bbvga[0]); @@ -1040,7 +1040,7 @@ static void vnt_check_bb_vga(struct vnt_private *priv) long dbm; int i; - if (!priv->bUpdateBBVGA) + if (!priv->update_bbvga) return; if (priv->hw->conf.flags & IEEE80211_CONF_OFFCHANNEL) -- 2.34.1