Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6151562rwb; Mon, 14 Nov 2022 15:20:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Lqt8D97yDV8Z1qbUgi4O3ESzG5OE1kel384u0sYFj1gzk0ABjcup+S6OO1Wx7FO+dUtF5 X-Received: by 2002:a17:90a:ea81:b0:218:1e70:2af with SMTP id h1-20020a17090aea8100b002181e7002afmr13414218pjz.46.1668468043025; Mon, 14 Nov 2022 15:20:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668468043; cv=none; d=google.com; s=arc-20160816; b=swxP3goo/tP/GcW+EZwKS6y3EKdBp80nsnOjPcEAPO/0LOoiLGwUcpdJ0NyMakC1tk BBV8o5gwpd94PgqMEF6fE1aeHksDQodfoMatoJVXOy3GZBUYy5/16FUlgUg5nEe/uPsw NsX4OydBmLqwmHXb0hqL3btXcrV7JJrQ6qfdhn/KzA7uo3htdpAeDRxCQcg0dkQs0sq9 5zMeHKzN0W/pWoKdKIaY2r5+j8i/p9axfwOB4xXX1Hryy+5DVYtBd81QBJSOurXZ3xBx y2rhrJXcTSGUsdIda475zV2XCnk0+pnfobLFWGmaa9doGhxBdUtAqyW6KnUglgXq3ofe kfNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=5Bd+hPxRC8CJvSI+iSnYQgyjxDeUguvczWQMfQnYonI=; b=uGdV1BRIwhqBocuUiwBVqtAtduHMO7WVvxMCFFLDFVVKfrjKBYfYXU9nt3xIcVWDwp wjNN+KOSk4MNE25UbnZtVOTu9pubslTpS7HNyGZ9+JqOvJx6h047L/2n2qm4+YbCYcet Li4/U3x8g9v/zc9zwVKLWqyNreYVLOunAwRxUHUUMFxl0IimIiqWCeUvhBC4oNk9POx+ fl4IqGYlc55s8dib/W6Oiq3PivdW4xEoFlaBBDTsZUCyaGTpII/aHfS+HetrPthkls/V bxFqpecdbZ+5H0zIM4Gve7M4mNHeBm10xDHJcNrznLRBAcQfEKu0eUPeroaJdiYSjBGg 5oXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=INOwPdrE; 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 nv8-20020a17090b1b4800b0020038eb8b5asi11896996pjb.21.2022.11.14.15.20.30; Mon, 14 Nov 2022 15:20:43 -0800 (PST) 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=INOwPdrE; 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 S237481AbiKNW7g (ORCPT + 89 others); Mon, 14 Nov 2022 17:59:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231355AbiKNW7e (ORCPT ); Mon, 14 Nov 2022 17:59:34 -0500 Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BD88C6D for ; Mon, 14 Nov 2022 14:59:34 -0800 (PST) Received: by mail-qk1-x733.google.com with SMTP id i9so8458351qki.10 for ; Mon, 14 Nov 2022 14:59:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5Bd+hPxRC8CJvSI+iSnYQgyjxDeUguvczWQMfQnYonI=; b=INOwPdrEBgADif+uik9Nd2gkrct6olxqpY0ZhI9BzXqZ09CrNJpxz8jb+ks1TClKZd un4pScO4qyTOFePGRJJEDfqD0AQ2TxHoJVhK2XJzhf/wTOEHpu/x6YnZJNTuUKkfwbGM kxqes3BtnFARLwrMlyie5ppNv61f0D2C7SvB10WsXJjWVy8qSFVT6ZHXcYSlQgBMDM1E bWUG0MsZXcR789Qp1NuKdFvrbNzBg4RIDAz9RCRo+N0LYO7qCPUOH3/t8ipjws10WEHU TYodoNsj4EGkIWF6pav9iCWwScoSaIp0gxvgr9UN+R3jv/+m6t0N7qJKPc3sTvVapb5v /kRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5Bd+hPxRC8CJvSI+iSnYQgyjxDeUguvczWQMfQnYonI=; b=jKyHrb2Ue6x6WPwxMTZ53WhyMZ+5J1Q1q8im7lrG3FtlZUrpgNAbb51IlItpLw76m6 CwOAks4LotZJ8oEqTJA+ETjnM7Bp8IwgRUogg/PkXugt0iSF01xJKSHp1OrrmIvqQ3+B 4WWkWGedvKOs7sODe9vjlT0r81wAZjYLm0dgZ+ubOBUDL5ms4dDcH+42C1FtHSD5Dlm2 TRk7YAJ3e9f9sNLUaSaB0jNAC6qzJKzPJ6PvI2parpGCo9SZFjhxLkHgkLw2OA7rKHZj IHIsqgB4rEu2s975Fsy4b5eeVcPNnH5zK4/uncOx5E+AylGlYD31JAk4+0/c8e/nyRHj us7A== X-Gm-Message-State: ANoB5pnaMstCx4ryRXU77P/J+pn5h6Dpl1yTZH6kAZiOeluEM+223YEr oAEy3Jt8DPKBSX4ZnddJWQWE4sK940UhvyVOxWeT9Z5iCbg/t0p265M= X-Received: by 2002:a37:aec3:0:b0:6fa:2ff9:e9ca with SMTP id x186-20020a37aec3000000b006fa2ff9e9camr13377681qke.29.1668466773107; Mon, 14 Nov 2022 14:59:33 -0800 (PST) MIME-Version: 1.0 References: <480340b3-c1c1-74b5-1889-f49dcb644469@gmail.com> In-Reply-To: <480340b3-c1c1-74b5-1889-f49dcb644469@gmail.com> From: Tanju Brunostar Date: Mon, 14 Nov 2022 23:59:21 +0100 Message-ID: Subject: Re: [PATCH v3] staging: vt6655: change the function name s_vFillRTSHead To: Philipp Hortmann Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Content-Type: text/plain; charset="UTF-8" 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 On Mon, Nov 14, 2022 at 9:19 PM Philipp Hortmann wrote: > > On 11/14/22 19:29, Tanjuate Brunostar wrote: > > 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 > > --- > > v2: corrected confusing changlog message on this patch > > v3: removed unnecessary function prototype > > > > drivers/staging/vt6655/rxtx.c | 40 ++++++++++++----------------------- > > 1 file changed, 13 insertions(+), 27 deletions(-) > > > > diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c > > index 31ae99b3cb35..715b323cd2a8 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,16 +85,6 @@ 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 s_vGenerateTxParameter(struct vnt_private *pDevice, > > unsigned char byPktType, > > struct vnt_tx_fifo_head *, > > @@ -555,19 +545,15 @@ s_uFillDataHead( > > return buf->duration; > > } > > > > -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_header(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) > > { > > unsigned int uRTSFrameLen = 20; > > > > @@ -912,7 +898,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 +917,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 +931,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; > > > > Hi, > > I cannot apply your patch. > > Here my git infos: > git remote show origin > * remote origin > Fetch URL: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git > ... > git branch -a > my branch: staging-testing > > Bye Philipp I was recently asked to rebase to the staging-next branch. I think this is where there is conflict