From nobody Mon Apr 13 17:20:40 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79B09C4332F for ; Tue, 15 Nov 2022 12:40:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229751AbiKOMk6 (ORCPT ); Tue, 15 Nov 2022 07:40:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232818AbiKOMkw (ORCPT ); Tue, 15 Nov 2022 07:40:52 -0500 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EEAB27153 for ; Tue, 15 Nov 2022 04:40:51 -0800 (PST) Received: by mail-lj1-x234.google.com with SMTP id c25so17339919ljr.8 for ; Tue, 15 Nov 2022 04:40:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=9K7OHdISQ9ndYJcM7FeOopDqicN3TnOW0AKBc0hd7r4=; b=EVuGADnY9FOdegDv7u0W/l+DAgxjrGyqM1nvo/0V8YD48lTvchKrzuP2BgRcg3tDPJ VTWFGGJ+O2+qzQQmKcehwOqfck9Ko+M7mEXMZ+po+CfyuC2AiDE6LEoH7T2i+BcNLzOv vd2wqOughcTVA4qpAdm2s09ax7/ayxh+CvjNp+MjGUOjuk3h+5B3pAeB+WmesJJmzczQ druyVSwW5blhk1WfLwcnfBoTGcD0mDTYDvfY26njwbp1eXFC9py7fIZTmoHmJ7J6UG9w i9D0UovTO6iCe4qUvwlgs/yq6gNIdSRlmxIr9x41MI9Z3nki6BIPmTX8VbKxA3RVMgzm Zv+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9K7OHdISQ9ndYJcM7FeOopDqicN3TnOW0AKBc0hd7r4=; b=DO9nNxur+s0jJybhmpWdNO8E1M0gE9wSDi+MUNWzklWYYA7rXvxyzjW5PMu77vFKwQ 71Z92xIxCAst0m5JHAGEdybsnAdvWekFMRVM2bumZouLbrPZFYCjGCTXHzp581pMkTKn ZOzbVanz/3mclgvgI1I8XFr6Drh05sp3ZwcpxyZPkzYT2cntWdBSMOQhReLDJr7B4TvJ niGQZCRdf7lJ7uScva5X6lMfei+HiDe5j9qMwvRJ5DP4xmPbkp66wfGIiGpTishxiLOn Ygw+hKspoGzrerrMTDO401o+MDiJfK6POgZBBdMM/vdaRYgLrFXb4+0QXwOfzrRobenx /R9Q== X-Gm-Message-State: ANoB5pnzSx6+u9rvl5a5FUca/kviWUQqRtcfSdu7662MVTEpDepHNePi 5VBU0sRu1uQ7LaxjO4aAiUgl6cp9u6IaYQ== X-Google-Smtp-Source: AA0mqf63kRve2WrOP8O0jvw0gQ3MiYYKl3f+DbyQEsGsomyVUGztVQISw5/2YzfQkk0nH/qPGRziAg== X-Received: by 2002:a2e:a814:0:b0:277:40f:4c1c with SMTP id l20-20020a2ea814000000b00277040f4c1cmr5301342ljq.410.1668516049622; Tue, 15 Nov 2022 04:40:49 -0800 (PST) Received: from elroy-temp-vm ([20.240.130.248]) by smtp.gmail.com with ESMTPSA id a3-20020a05651c030300b002772414817esm2495208ljp.1.2022.11.15.04.40.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 04:40:49 -0800 (PST) Date: Tue, 15 Nov 2022 12:40:48 +0000 From: Tanjuate Brunostar To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Subject: [PATCH] staging: vt6655: change the function name s_vFillCTSHead Message-ID: MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove the use of Hungarian notation, which is not used in the Linux kernel. Reported by checkpatch Add indentation to the affected function to follow the Linux kernel coding style. This improves visibility Signed-off-by: Tanjuate Brunostar --- drivers/staging/vt6655/rxtx.c | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 341e23054817..869685d27abe 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -21,7 +21,7 @@ * s_uGetRTSCTSDuration- get rtx/cts required duration * get_rtscts_time- get rts/cts reserved time * s_uGetTxRsvTime- get frame reserved time - * s_vFillCTSHead- fulfill CTS ctl header + * fill_cts_header- fulfill CTS ctl header * s_vFillFragParameter- Set fragment ctl parameter. * fill_rts_header- fulfill RTS ctl header * s_vFillTxKey- fulfill tx encrypt key @@ -724,19 +724,15 @@ static void fill_rts_header(struct vnt_private *pDevi= ce, } } =20 -static -void -s_vFillCTSHead( - struct vnt_private *pDevice, - unsigned int uDMAIdx, - unsigned char byPktType, - void *pvCTS, - unsigned int cbFrameLength, - bool bNeedAck, - bool bDisCRC, - unsigned short wCurrentRate, - unsigned char byFBOption -) +static void fill_cts_header(struct vnt_private *pDevice, + unsigned int uDMAIdx, + unsigned char byPktType, + void *pvCTS, + unsigned int cbFrameLength, + bool bNeedAck, + bool bDisCRC, + unsigned short wCurrentRate, + unsigned char byFBOption) { unsigned int uCTSFrameLen =3D 14; =20 @@ -891,7 +887,7 @@ static void generate_tx_parameter(struct vnt_private *p= Device, buf->cts_rrv_time_ba =3D get_rtscts_time(pDevice, 3, byPktType, cbFrame= Size, wCurrentRate); =20 /* Fill CTS */ - s_vFillCTSHead(pDevice, uDMAIdx, byPktType, pvCTS, cbFrameSize, bNeedAC= K, bDisCRC, wCurrentRate, byFBOption); + fill_cts_header(pDevice, uDMAIdx, byPktType, pvCTS, cbFrameSize, bNeedA= CK, bDisCRC, wCurrentRate, byFBOption); } } else if (byPktType =3D=3D PK_TYPE_11A) { if (pvRTS) {/* RTS_need, non PCF mode */ --=20 2.34.1