Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3813012rwb; Tue, 8 Nov 2022 08:38:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf6i1bMS9fI88Uig6Zmzf/Mb3vUG3393w7WAGXQIc9phkj01bo3mxohfgpJx4K8htTjmZ3qK X-Received: by 2002:a17:906:db03:b0:741:337e:3600 with SMTP id xj3-20020a170906db0300b00741337e3600mr11560314ejb.343.1667925506874; Tue, 08 Nov 2022 08:38:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667925506; cv=none; d=google.com; s=arc-20160816; b=z+dQvZe5kgx7htNR2DpNXD9zjD2iG09+x39i5SOHcJMhYYqGRkj+GS8wKs+SUqP4Dh vMVFjorFy3sk5CUEfBluFIRb4Pr4auja8C4pKGv3L0sCcCwpYCCm/L+KDSahbys8q+52 0AEq90kmqA0d+g5DNEt+boDKWCkbMu/w2VBIow/nz9Lr1bBE4sianNLDQ0+7MkcsAw40 l8VPOrqhysamOOQEeXwSY5GGRdHqpRWIw+HKjrGI/k7CFJAhcOyeYhzX6s9G6CjqhnE2 MGTaKbw4R+i3VmXHWTb6uSmKCn67NegngkFAkrtfKrsI64hQGeAl9D4ioOSxH206hKdd BYeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=m+eTMrP75oLafXyXgchIpffICIMJwEp5yrE8Pn/S9CM=; b=KqccAHyjm/uA+I5q76sGAcJuj5fpjaruSddmOAwfEimZS1AdaAT9NRwG0FYsG/HXOJ C4nJj+ykzHcKYjM5TJNvk3kgogcTVyQGKRZu59nhjmrttZsHt1KIvKgiUjdYnehujjI1 1R71/lA5Yj3nz46Kb8YCU1YRoKpdrJWTszczsPeA8GasUPk1DoPQXckxoYsIg9H2F9Rm GlpIYyrpn165pkhgBGwO7WPjsB6ME+VaOlt6h5JutnLXIiMjV7sz+UX1hum9s3W+yMRN hBp/WcjvhDsl/O+C+gulI52F9I9Dvfxs2ODZKPp2vJAj6rXJRsC0PzxHetCMr4ZmZ7SG NJZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Fy5/LIDt"; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb4-20020a1709077e8400b0078debc9d30esi12434323ejc.29.2022.11.08.08.38.05; Tue, 08 Nov 2022 08:38:26 -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=@linuxfoundation.org header.s=korg header.b="Fy5/LIDt"; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234478AbiKHPRp (ORCPT + 90 others); Tue, 8 Nov 2022 10:17:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234465AbiKHPRf (ORCPT ); Tue, 8 Nov 2022 10:17:35 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87588186F8 for ; Tue, 8 Nov 2022 07:16:41 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B13B6615FA for ; Tue, 8 Nov 2022 15:16:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C8AFC433C1; Tue, 8 Nov 2022 15:16:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1667920600; bh=VyObGno3eWCppLggnWSbcxxTvObvPyRmksOsBBBl7WQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Fy5/LIDtHF/+VUnhwnkeFl4WowNnzzkCvBAMzvZWRQ6IynAx+dDXVqYRnGxfnDCCa gURISwHChRbdJKfMWMKq3qGaI53m3MRcPDXgmNCCg0lg1CJG/B1Pgrvd27q8sbtr39 F1lA16Ce/E3VZZucEEYJZfilaBT9FZxeP+IaPNgg= Date: Tue, 8 Nov 2022 16:16:36 +0100 From: Greg KH To: Tanjuate Brunostar Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Subject: Re: [PATCH] staging: vt6655: change the function name s_vGenerateTxParameter Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Thu, Nov 03, 2022 at 11:29:06AM +0000, Tanjuate Brunostar wrote: > Remove the use of Hongarian notation which is not used in Linux kernel. > Join some lines of code to avoid a line ending in a '(' > Reported by Checkpatch > > Signed-off-by: Tanjuate Brunostar > --- > drivers/staging/vt6655/rxtx.c | 54 ++++++++++++++++------------------- > 1 file changed, 25 insertions(+), 29 deletions(-) > > diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c > index debc5d5daede..793a63b2ff46 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. > + * generate_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,17 +95,17 @@ static void fill_rts_header(struct vnt_private *pDevice, > unsigned short wCurrentRate, > unsigned char byFBOption); > > -static void s_vGenerateTxParameter(struct vnt_private *pDevice, > - unsigned char byPktType, > - struct vnt_tx_fifo_head *, > - void *pvRrvTime, > - void *pvRTS, > - void *pvCTS, > - unsigned int cbFrameSize, > - bool bNeedACK, > - unsigned int uDMAIdx, > - void *psEthHeader, > - unsigned short wCurrentRate); > +static void generate_tx_parameter(struct vnt_private *pDevice, > + unsigned char byPktType, > + struct vnt_tx_fifo_head *, > + void *pvRrvTime, > + void *pvRTS, > + void *pvCTS, > + unsigned int cbFrameSize, > + bool bNeedACK, > + unsigned int uDMAIdx, > + void *psEthHeader, > + unsigned short wCurrentRate); > This function prototype is not needed at all, right? So just delete it instead of renaming it. thanks, greg k-h