Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp4224508rwi; Wed, 2 Nov 2022 08:12:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6+R8uF2Skl9LKknVaJd5N8TJ8bjCz4mUColAdINMu8pcwdXTZiGjAqkzhxpUdB1ycsiXOo X-Received: by 2002:aa7:c859:0:b0:463:4b54:16a8 with SMTP id g25-20020aa7c859000000b004634b5416a8mr18225063edt.136.1667401964659; Wed, 02 Nov 2022 08:12:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667401964; cv=none; d=google.com; s=arc-20160816; b=f3W31vvL5wo0joR2S7dxbfCgzI0W2H3EjUE9uTO3GDC/SSBsN3643CCmWUv7EJNTRM DL4nbzwswFwknf13SYULn/Zd+rewiOKEK4EIHCF5437I+7rcySdcB9iU9Umoh9e0LsCd tSkRy1NNicQTZiQ2vz5FENR25mLwZbtgtEGEG2mr1ZOWLCk6HOlP7zxAj6JcS0SQfAaL b0TSGp594FqzmSho6ogpseoQ190Jzi8c8pxoeMOrb7RK0s4PnC2kONNv6YI92CtvPY6s Uzxg6hF2GcxeTEWGtwRB1X33+Ll7lZGlH4HNEUz+Qzr02+oIB97s8Hvr6+F5xVUINX7O MEdQ== 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=vodxGcB9Pfq4inF2n1v2hS81nVigSig+J8tui1TzmuI=; b=HCtBbgJrl7b5fIXsVPnRxrB+wZ6x+lStbPv6C7VYIsH/mLfS/rav5wNEUyVlVjmAOF az8yZqOSB3GMEjj9qjIRq8v2pb6lFbY4WLkPidxdrJ52Km91i53rVElAHR83JoKUtliK rK9bJXHmxEfMT0/Y4ktPBdVnTPVr1cYlTv95ACFq2pIpt4zq55iqTVNgNtWDJ0+PpJSO jn+Q5qgPcMHzvjbsA2MsjwjEBWMlNPwW4FN+hxjdn0EOPKtB8lOJugUgtSHGC5aiyL+V 9HuPr+7pkZcXiMtnMlwzZdEe14ooakXqyXZKyLyVsAM2SmY6u4qXMNMP6A/JN+8isL97 dvsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="e/qJP6e1"; 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 z15-20020a17090655cf00b00782b261ea1asi11267855ejp.67.2022.11.02.08.12.21; Wed, 02 Nov 2022 08:12:44 -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="e/qJP6e1"; 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 S231336AbiKBOJU (ORCPT + 98 others); Wed, 2 Nov 2022 10:09:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231153AbiKBOJQ (ORCPT ); Wed, 2 Nov 2022 10:09:16 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C346657F for ; Wed, 2 Nov 2022 07:09:13 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id g7so28443828lfv.5 for ; Wed, 02 Nov 2022 07:09:13 -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=vodxGcB9Pfq4inF2n1v2hS81nVigSig+J8tui1TzmuI=; b=e/qJP6e1FUzJhEUZWVa0R6rF1rF7EmWXTZq7dzIrJBXev+c2OnbNKAN4SQNPbTiXhC qHaEq/Z2QDmQN2Pq0wQx1IjPmqLTYcGploBQNvY4ogc3fItUA4mGyClW+CCujAqn32ke WJO4MFQNIwHLWla0C4n20iUn7mtuS0BZ9dIsoBoNnkNRgckBkYOdJVZHVHWkKmaGms9s kIXTWqBKPMBC9qlItrMqbjJ00ncyQUHEJnYGRUI+mU7Ms6BXDo+FKHAmaDjjBMkVcRfT VrGxGD5ccRge2Gl9fUvhVIE0CxOwCikcTqVVFKYFQrwM8/Tl1/OvDP7EWUHPHZJzQUgt NamQ== 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=vodxGcB9Pfq4inF2n1v2hS81nVigSig+J8tui1TzmuI=; b=zjTdPL/Y0KapYXXpbAZM7z4ufejMY3DyXd2KDRvpShF3qK2MigvJcGP5O7vKMJKBbg uizEM7TF+r3aNATT5GRbytYyBmonM4uTbyyqL3/1/xO9eV7X52px0RQwBnPCLnVBR4bb dh+eaMTH8Yl6EbBXrd2iC2KugM7aNlMklHIhnOhFOQtIpav67zQJtJ+NFsOQVKlV/O/n UAWYU1rSmH/7EKztl6yBDN+MYbRhjHkq7lnvRf0Cp+GX1PkhuKkatIVV88Yp2SMl+i/n 30Kgi2K8VnkCXappRsucd4/gWDvf/A7BVPuH0kj8HZ26dWL76qWJ3MgvinBLHF260Fm3 WKWg== X-Gm-Message-State: ACrzQf2qEYRCUBlU9nDINK+CYiTmiZXFHB0LU5A2wn5K9wMH+wq06AuG RSatiKER2gQbNTgaeR6Eq8E= X-Received: by 2002:a05:6512:54a:b0:4af:b4ac:c2bb with SMTP id h10-20020a056512054a00b004afb4acc2bbmr9042950lfl.650.1667398151683; Wed, 02 Nov 2022 07:09:11 -0700 (PDT) Received: from elroy-temp-vm.gaiao0uenmiufjlowqgp5yxwdh.gvxx.internal.cloudapp.net ([20.240.130.248]) by smtp.googlemail.com with ESMTPSA id bj12-20020a2eaa8c000000b0026e0434eb1esm119503ljb.67.2022.11.02.07.09.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 07:09:11 -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 V4 1/2] staging: vt6655: change the function name s_vFillRTSHead Date: Wed, 2 Nov 2022 14:08:47 +0000 Message-Id: <5a0649c6019f1717cb2e2e8fc4e262f3747d73a5.1667397591.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 Remove the use of Hungarian notation, which is not used in the Linux kernel. Reported by checkpatch Signed-off-by: Tanjuate Brunostar --- drivers/staging/vt6655/rxtx.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 31ae99b3cb35..c01fc1a593f3 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -23,7 +23,7 @@ * s_uGetTxRsvTime- get frame reserved time * s_vFillCTSHead- fulfill CTS ctl header * s_vFillFragParameter- Set fragment ctl parameter. - * s_vFillRTSHead- fulfill RTS ctl header + * fill_rts_header- fulfill RTS ctl header * s_vFillTxKey- fulfill tx encrypt key * s_vSWencryption- Software encrypt header * vDMA0_tx_80211- tx 802.11 frame via dma0 @@ -85,15 +85,15 @@ static const unsigned short fb_opt1[2][5] = { #define DATADUR_A_F1 13 /*--------------------- Static Functions --------------------------*/ -static void s_vFillRTSHead(struct vnt_private *pDevice, - unsigned char byPktType, - void *pvRTS, - unsigned int cbFrameLength, - bool bNeedAck, - bool bDisCRC, - struct ieee80211_hdr *hdr, - unsigned short wCurrentRate, - unsigned char byFBOption); +static void fill_rts_head(struct vnt_private *pDevice, + unsigned char byPktType, + void *pvRTS, + unsigned int cbFrameLength, + bool bNeedAck, + bool bDisCRC, + struct ieee80211_hdr *hdr, + unsigned short wCurrentRate, + unsigned char byFBOption); static void s_vGenerateTxParameter(struct vnt_private *pDevice, unsigned char byPktType, @@ -912,7 +912,7 @@ s_vGenerateTxParameter( buf->rrv_time_a = vnt_rxtx_rsvtime_le16(pDevice, byPktType, cbFrameSize, wCurrentRate, bNeedACK); buf->rrv_time_b = vnt_rxtx_rsvtime_le16(pDevice, PK_TYPE_11B, cbFrameSize, pDevice->byTopCCKBasicRate, bNeedACK); - s_vFillRTSHead(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRate, byFBOption); + fill_rts_header(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRate, byFBOption); } else {/* RTS_needless, PCF mode */ struct vnt_rrv_time_cts *buf = pvRrvTime; @@ -931,7 +931,7 @@ s_vGenerateTxParameter( buf->rrv_time = vnt_rxtx_rsvtime_le16(pDevice, byPktType, cbFrameSize, wCurrentRate, bNeedACK); /* Fill RTS */ - s_vFillRTSHead(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRate, byFBOption); + fill_rts_header(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRate, byFBOption); } else if (!pvRTS) {/* RTS_needless, non PCF mode */ struct vnt_rrv_time_ab *buf = pvRrvTime; @@ -945,7 +945,7 @@ s_vGenerateTxParameter( buf->rrv_time = vnt_rxtx_rsvtime_le16(pDevice, PK_TYPE_11B, cbFrameSize, wCurrentRate, bNeedACK); /* Fill RTS */ - s_vFillRTSHead(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRate, byFBOption); + fill_rts_header(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRate, byFBOption); } else { /* RTS_needless, non PCF mode */ struct vnt_rrv_time_ab *buf = pvRrvTime; -- 2.34.1