Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1008791rdh; Fri, 27 Oct 2023 01:53:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHFSXlzCIEszJPxvLftPeokpYN4XOZYVHdJlh+XX7Gn8WpLxPtwXNihfS6Ver+db6U0U0mT X-Received: by 2002:a25:cb05:0:b0:da0:6933:d8d with SMTP id b5-20020a25cb05000000b00da069330d8dmr2068302ybg.63.1698396783710; Fri, 27 Oct 2023 01:53:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698396783; cv=none; d=google.com; s=arc-20160816; b=mSPo8dbOfPnhfj/KyrdDnKdFIqzKP6TwOYe0jblQJtgCqNm8YauBi49p2mVTlTbHHV JwFpmi3hblGzIK9ACjNLkToymKzaD4QqqLZnsO4lwTqE3VF/W8t+6zIKoyp14RX+a+Am 5b6eDlbMNg1NM0jQf6gyROWGRTy5JIgC0EkaUQZfFeLd/L9NmeC+1rt56KyWEyaSru0v mgYnmxw5bAAgFGr3CgZGf54r66UrIFxCSpmf9zWNKQ8PJFLLIolBiiXPpZcq4A4grdRP Np8LXOoERTyhICUl28B2J6/Fm7VJTToZzhlPKAUCvOirwzLY9AwK3ZYLwYqzNSPds96m tLIg== 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=qt5cbLVG/omYbe37e1faZ93UM/A9SfQku0KpypeCMxg=; fh=yA30TivmbF8U9xPr1aRCskTDSDKFnBRanyW4gpbavwY=; b=tuRefnHlXSwPFPSSRpjZXSec7YgPUxlyW03dKRoJ+Ma0C85ZWPpAudt6fazHBH2S2w 4Ya1anQZR0VoFsJyT6mWOubHmqT1/HeE36G6NUCHQ+iL9to1gspiVsvciHeZrJMMG5Pd Pb161tQnDZndyDK0br++l7rMiyCJL8NeN2qGWt0kISCYBcJP0ahdB4mprOnNoTKoEu2g grJv9+2uKxG88F4vWl6XDXF62l/lWAHXb7yysEURRAr7tM24hcKBcxGwKl4rGCG2cCk5 52EGAIxPQZAMjJsqYm+fpTCRmU8325ZTbZUhhC1GE3K3VjF8b7RVv00pLZ5Kt8aSHi+W J/Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OcgCDxaI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id z7-20020a258687000000b00da0737d9587si2044970ybk.575.2023.10.27.01.53.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 01:53:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OcgCDxaI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 5A37882CAC15; Fri, 27 Oct 2023 01:53:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345764AbjJ0Iwo (ORCPT + 99 others); Fri, 27 Oct 2023 04:52:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345691AbjJ0Iwf (ORCPT ); Fri, 27 Oct 2023 04:52:35 -0400 Received: from mail-oo1-xc34.google.com (mail-oo1-xc34.google.com [IPv6:2607:f8b0:4864:20::c34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6C3510EA for ; Fri, 27 Oct 2023 01:52:30 -0700 (PDT) Received: by mail-oo1-xc34.google.com with SMTP id 006d021491bc7-581e92f615fso1019794eaf.2 for ; Fri, 27 Oct 2023 01:52:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698396750; x=1699001550; darn=vger.kernel.org; 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=qt5cbLVG/omYbe37e1faZ93UM/A9SfQku0KpypeCMxg=; b=OcgCDxaIIVxuCX4EMoXClsLBBtEDJSIXPNjmQNhmScqr/t9qk3itpxbH3lq9REyphw bHRhtiJknYQ4QvNjWUD1C2BVt5mGUdyjvk1GquZAYEeEHzh74QcJNoPyW7rZuMc8+VNS MFv/uGZH+xbrLi5tuizRgDdWEUDFnu2/Unpcka9wAUFInYtdFCl01wMWlTSdJVfmed1m keuSzEZlFQMK92J+APAz4nVovqm3URh8whtF9nvf18B+fvEntf5MtB8tMECmmlVdgoTs z8zj1TygAMLG4yB90Xau5jToj29NPrPJqRVG1xiD3AbP1CmZ8WKl/YRjueHykvS9K9nr 4SfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698396750; x=1699001550; 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=qt5cbLVG/omYbe37e1faZ93UM/A9SfQku0KpypeCMxg=; b=La6+/kaQbpe/fOxq0embzIlb7U4K/PDaptaQMNf8UOBxg966cjLojO4U8+YT003onc Kx6cKFJOG7Qbu4amFCZ85ZRBnfl+uHMIiILvU+O9UHiTwZN2QuUVSmd1OASYnQRWLGNz D5txBAr9vcqUQZa0eZcjo7x4qr9NQV/oPtgGcfNdcBbbXZz3sOm/lMLdOjpJ8gXoJFgY PO5GAOMOh/Uz2WzUnbzIED2Xpea9y46jCjPJyqoTFCrI96y+yeauqfq0rXACQ+GsjzRd QVxHi4LB39uB5gftNkL3G1oWalXaRhd8msHS/kN+rnbGurn+vnquzrc+UI0qp2V7Ha5U kAwA== X-Gm-Message-State: AOJu0Yz+U0G1Za5tiNJK7x5021YSnTD5Gc8DaaVjFvQPOAlaa+IDhdtc gpnxEo1iK2Wm2yDNcLJvKTk= X-Received: by 2002:a05:6358:7252:b0:168:d31f:9fe3 with SMTP id i18-20020a056358725200b00168d31f9fe3mr2847686rwa.23.1698396749436; Fri, 27 Oct 2023 01:52:29 -0700 (PDT) Received: from ubuntu.. ([122.174.106.169]) by smtp.gmail.com with ESMTPSA id h12-20020a63b00c000000b0055c178a8df1sm698825pgf.94.2023.10.27.01.52.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 01:52:28 -0700 (PDT) From: Pavan Bobba To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Pavan Bobba Subject: [PATCH 06/10] staging: vt6655: Type encoding info dropped from variable name "byPacketType" Date: Fri, 27 Oct 2023 14:21:55 +0530 Message-Id: <308813545f9364da18dfc3cdb051ed59eca18f7f.1698396278.git.opensource206@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 27 Oct 2023 01:53:02 -0700 (PDT) variable name "byPacketType" 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/card.c | 2 +- drivers/staging/vt6655/device.h | 2 +- drivers/staging/vt6655/device_main.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c index 4f73da832b6a..c58a25032a03 100644 --- a/drivers/staging/vt6655/card.c +++ b/drivers/staging/vt6655/card.c @@ -265,7 +265,7 @@ bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type) iowrite8(priv->cw_max_min, priv->port_offset + MAC_REG_CWMAXMIN0); } - priv->byPacketType = CARDbyGetPktType(priv); + priv->packet_type = CARDbyGetPktType(priv); CARDvSetRSPINF(priv, bb_type); diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index 7773b19a5788..d9ee0b7401fe 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -188,7 +188,7 @@ struct vnt_private { unsigned char cw_max_min; u8 byBBType; /* 0:11A, 1:11B, 2:11G */ - u8 byPacketType; /* + u8 packet_type; /* * 0:11a,1:11b,2:11gb (only CCK * in BasicRate), 3:11ga (OFDM in * Basic Rate) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index c6627c10a462..17a323800ce9 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -177,7 +177,7 @@ device_set_options(struct vnt_private *priv) priv->byShortRetryLimit = priv->opts.short_retry; priv->byLongRetryLimit = priv->opts.long_retry; priv->byBBType = priv->opts.bbp_type; - priv->byPacketType = priv->byBBType; + priv->packet_type = priv->byBBType; priv->byAutoFBCtrl = AUTO_FB_0; priv->update_bbvga = true; priv->preamble_type = 0; -- 2.34.1