Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp9230094rwi; Tue, 25 Oct 2022 17:13:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6TUV2o5xw8GO4Yv72bnSHoLNjrjNy6mpd6tFgwtOuKtqeheUon0NFx9MrD6XfyYl4M8mn9 X-Received: by 2002:a17:90b:38c3:b0:20d:6790:19fa with SMTP id nn3-20020a17090b38c300b0020d679019famr1032778pjb.68.1666743200792; Tue, 25 Oct 2022 17:13:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666743200; cv=none; d=google.com; s=arc-20160816; b=gbWuwJu8zG4iq9GEDfHK9z+bo74+eoMYFr5lVOGyGAvnyhpX+yXfHCVnbk5QGLTDhu VJOO0B9F/CMiSoY1VVgeMvFXlR7yvWuN0SzG1qgAJfzGPw/kbctz5oDaqhw2X76SLAyq qMlWxymEp1woA6mZQQITQcB2pAlt9Bd6UzrCssMuuHBzFEpqJz8L2X32rj2jFNzF3Zph U3K1nGoKulDocuJfxKkJBd2WYo3oRv1RCFaQOTowFNNl18JwrTyTHIXlULswtwgwI/b7 C8wwCwcGJv1U82jSmQ5VIYdrNLyTpuNLIc8HXaOsva/Ju5rqcVho6x7jr3qT2ZjzomGB efVw== 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=9lBB9ttth4eSvyWXw/F4NyKEvhAfegcmcryN6aA811E=; b=xknJEtOV3qRQOWJjKg5vdPgMAuXDHUXWMIgbM57UD/sXHQ9rl+3ma1Su3lafINmNR4 bJn3mpm431+9OFVFpBWHPwrpXiuhJcUJRlOJ9ro298k/lrUVwG56dD7Z6/oEIem+d2DG xWJuPK6qBP92AwgUS7zHkDMmLqZnjIz6c9TyVnBBoW57FszqGNGPRNgVDVBvMoXFtaKz IOIcgmlDSno9gzZtqEwi4jL9LkTODyAspVAKx15pOEPoAqrGN8iRShH8IEVd56VQdSOT GqBMhCWaF6DnE6Q9JUNg1g386wQSZMO9qB4gKzhkNay1ywOxdT6Eo8uHUQBKMfcmsBIf z3yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iWjbB1Mk; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k2-20020aa790c2000000b00548d480e340si4006382pfk.92.2022.10.25.17.12.58; Tue, 25 Oct 2022 17:13:20 -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=@gmail.com header.s=20210112 header.b=iWjbB1Mk; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232832AbiJYXjF (ORCPT + 99 others); Tue, 25 Oct 2022 19:39:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232884AbiJYXip (ORCPT ); Tue, 25 Oct 2022 19:38:45 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DF1F101E12 for ; Tue, 25 Oct 2022 16:38:19 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id j4so25421307lfk.0 for ; Tue, 25 Oct 2022 16:38:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=9lBB9ttth4eSvyWXw/F4NyKEvhAfegcmcryN6aA811E=; b=iWjbB1MkJ8RdSGc1z4wf+4T1ykM7kFl5KvHpIftG9RAiamzCimo1+PPA58KNIfOF9k zN/2StTMzeXZg6QWr0FRwCHL75FDBNEwS6V8xSMBJg8ie7w/QlTIjyLcg/k0KjeaTNuU an7NAL6mwIXVorwvVF7/MU5qPbPDMmaEucLxXyDPETHvEkkzo9Z/J+SBToqqT42MX1od VCuyJ+HSoL1w8774Br39u2PBO26YO22OdM9UBJPBB1xKajeerVm2Jh9FtZN0+6x1e2Nv pobkJqamcVygUlnU6Y4uxhHwjW75iL2DUJYnLTFqxJMKr4l8qyFSnsrNuQgws0gn5Bm2 4GjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=9lBB9ttth4eSvyWXw/F4NyKEvhAfegcmcryN6aA811E=; b=Xu6vT1/CvQrfIsRtn45hY3Dl8ot8ILSMZ+M3ZcrKw/TKGOwPXRNLWKC26px2oLn2vx QMtX8pV3RlsnUTomPLKDqtS7If5GVvQFCfkzR7l0O9YsjsHeM1cEmcMd7LPjjcUlUXyS 5h3Pbuz1iOEq3PatvPuEwV5Yxjpyrkdak9tnAdOSQT4LukOGijRn8e9BBE49OaWaZRVN hX9XITJ6PSsq/GZ3BsKYRE1rgRQhQehlmI40+GoqIm71H1ofib9ll5S+NLGDPi8gtuTE aztXzk8H7gaPUA7LgeOO5xpGskkO+8HsrzSJyvAmOGDJKyWHJMj+N4KAfPVuPkwtSql7 i77A== X-Gm-Message-State: ACrzQf374oH00/nxH+CvhiiUXwJoYcpbHxsBE6SPk4KvdYvty+1apSPg BoNxnyc2pAXp7z+NwDGgdwA= X-Received: by 2002:ac2:5e35:0:b0:4a4:754f:e2d5 with SMTP id o21-20020ac25e35000000b004a4754fe2d5mr16858525lfg.77.1666741099189; Tue, 25 Oct 2022 16:38:19 -0700 (PDT) Received: from elroy-temp-vm.gaiao0uenmiufjlowqgp5yxwdh.gvxx.internal.cloudapp.net ([20.240.130.248]) by smtp.googlemail.com with ESMTPSA id w17-20020a05651c119100b0026daf4fc0f7sm701969ljo.92.2022.10.25.16.37.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Oct 2022 16:37:57 -0700 (PDT) From: Tanjuate Brunostar To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, Tanjuate Brunostar Subject: [PATCH 10/17] staging: vt6655: changed variable name: s_vGenerateTxParameter Date: Tue, 25 Oct 2022 23:37:06 +0000 Message-Id: <1663fb051fe1a25189bb578e1e6bcde7f9ad39d4.1666740522.git.tanjubrunostar0@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_NONE,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 change variable names s_vGenerateTxParameter to meet the linux coding standard, as it says to avoid using camelCase naming style. Cought by checkpatch Signed-off-by: Tanjuate Brunostar --- drivers/staging/vt6655/rxtx.c | 63 ++++++++++++++++++----------------- 1 file changed, 32 insertions(+), 31 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 3d28cbfec618..fa11677ce119 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -10,7 +10,7 @@ * Date: May 20, 2003 * * Functions: - * s_vGenerateTxParameter - Generate tx dma required parameter. + * s_vgenerate_tx_parameter - Generate tx dma required parameter. * vGenerateMACHeader - Translate 802.3 to 802.11 header * cbGetFragCount - Calculate fragment number count * csBeacon_xmit - beacon tx function @@ -95,23 +95,24 @@ static void s_v_fill_rts_head(struct vnt_private *p_device, unsigned short wCurrentRate, unsigned char by_fb_option); -static void s_vGenerateTxParameter(struct vnt_private *p_device, - unsigned char by_pkt_type, - struct vnt_tx_fifo_head *, - void *pvRrvTime, - void *pv_rts, - void *pvCTS, - unsigned int cbFrameSize, - bool bNeedACK, - unsigned int uDMAIdx, - void *psEthHeader, - unsigned short wCurrentRate); - -static unsigned int -s_cbFillTxBufHead(struct vnt_private *p_device, unsigned char by_pkt_type, - unsigned char *pbyTxBufferAddr, - unsigned int uDMAIdx, struct vnt_tx_desc *pHeadTD, - unsigned int uNodeIndex); +static void s_vgenerate_tx_parameter(struct vnt_private *p_device, + unsigned char by_pkt_type, + struct vnt_tx_fifo_head *, + void *pvRrvTime, + void *pv_rts, + void *pvCTS, + unsigned int cbFrameSize, + bool bNeedACK, + unsigned int uDMAIdx, + void *psEthHeader, + unsigned short wCurrentRate); + +static unsigned int s_cbFillTxBufHead(struct vnt_private *p_device, + unsigned char by_pkt_type, + unsigned char *pbyTxBufferAddr, + unsigned int uDMAIdx, + struct vnt_tx_desc *pHeadTD, + unsigned int uNodeIndex); static __le16 s_uFillDataHead(struct vnt_private *p_device, unsigned char by_pkt_type, @@ -936,17 +937,17 @@ static void s_vFillCTSHead(struct vnt_private *p_device, - * unsigned int cbFrameSize, Hdr+Payload+FCS */ -static void s_vGenerateTxParameter(struct vnt_private *p_device, - unsigned char by_pkt_type, - struct vnt_tx_fifo_head *tx_buffer_head, - void *pvRrvTime, - void *pv_rts, - void *pvCTS, - unsigned int cbFrameSize, - bool bNeedACK, - unsigned int uDMAIdx, - void *psEthHeader, - unsigned short wCurrentRate) +static void s_vgenerate_tx_parameter(struct vnt_private *p_device, + unsigned char by_pkt_type, + struct vnt_tx_fifo_head *tx_buffer_head, + void *pvRrvTime, + void *pv_rts, + void *pvCTS, + unsigned int cbFrameSize, + bool bNeedACK, + unsigned int uDMAIdx, + void *psEthHeader, + unsigned short wCurrentRate) { u16 fifo_ctl = le16_to_cpu(tx_buffer_head->fifo_ctl); bool b_dis_crc = false; @@ -1223,8 +1224,8 @@ static unsigned int s_cbFillTxBufHead(struct vnt_private *p_device, memset((void *)(pbyTxBufferAddr + wTxBufSize), 0, (cbHeaderLength - wTxBufSize)); /* Fill FIFO,RrvTime,RTS,and CTS */ - s_vGenerateTxParameter(p_device, by_pkt_type, tx_buffer_head, pvRrvTime, pv_rts, pvCTS, - cbFrameSize, bNeedACK, uDMAIdx, hdr, p_device->wCurrentRate); + s_vgenerate_tx_parameter(p_device, by_pkt_type, tx_buffer_head, pvRrvTime, pv_rts, pvCTS, + cbFrameSize, bNeedACK, uDMAIdx, hdr, p_device->wCurrentRate); /* Fill DataHead */ uDuration = s_uFillDataHead(p_device, by_pkt_type, pvTxDataHd, cbFrameSize, uDMAIdx, bNeedACK, 0, 0, uMACfragNum, by_fb_option, -- 2.34.1