Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2049415rwi; Tue, 1 Nov 2022 03:15:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6JFVSu8Qr4Y/Txi2tAO63M2bwAjiyHfbSXvcexE8usdwoqn1B06rMmundUJ/59R3WHhp96 X-Received: by 2002:a63:db49:0:b0:439:246e:8091 with SMTP id x9-20020a63db49000000b00439246e8091mr16838455pgi.295.1667297742385; Tue, 01 Nov 2022 03:15:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667297742; cv=none; d=google.com; s=arc-20160816; b=OFZqrli1Kzd0xMpNbdPt4dsCTeUG7mpCMQOB1eqWBQaQSUt7/ank9Ry1T7yLtFpV41 72k5grJxcOHfTiULV+0Hqj25+3dktQc12rHekEKTXl3nKmsPZD1v2eUEgwQYOUFJjiiY UiaQ9B4e0vP8nKBgdN0WKYHIhGDXALRukd6rp0jsanqMArbLDXlnIXFqSekcjvaycnTW 7t+PAG0P531fBKizVioBivzGeBPIHUmmtPqmlcXTqk6KfFUQoKB7A8dj/8yml4dNGJ2G kmZK72u4sSkP+/tIzwdrP/kUFxtvmIZeFYj83wwOwn6CzDqCj9IuPcIz4kgzBD/+rbnr PMyA== 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=ok+cbTznpYUooeXdhCJRVZg6pb0QloH0mqLzgokxf5w=; b=rXo3HzpIfNDmt1Gsshq0ZRj0QNKGqRHvswpgd2W/2dDug8egBFpGhqg18LKmpuDJWW nHnfY47PVIY6L0ccfWwCiR2lojCauvHzEhTmjj/EN9LzPFLK+Zm8evbGJg4VtnXQcyK+ DynCVZpvt9SrsMDUHhR3Xqu4IVRxs/OzMGsyjPXPVrvZM5782TbC+Gym7sKKyI+4Rrn2 1sHSB38UGA+DlMw0dn9RK+sbXScaGdDdAX/WEf0b6+FrnXtPQNw21XdZ6qOpyuSS0fDV 2R9onTRZP5zSUQ0MpQN0W73Amfog8+aGb642ww7b7cuywE99VzpVnGkjN55Nx3a81sqO VLlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=e2N9RCz2; 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 j5-20020a63cf05000000b0043c2b08e6efsi11228091pgg.694.2022.11.01.03.15.14; Tue, 01 Nov 2022 03:15:42 -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=@linuxfoundation.org header.s=korg header.b=e2N9RCz2; 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 S230165AbiKAJ5V (ORCPT + 97 others); Tue, 1 Nov 2022 05:57:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbiKAJ5T (ORCPT ); Tue, 1 Nov 2022 05:57:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0D6013F79 for ; Tue, 1 Nov 2022 02:57:18 -0700 (PDT) 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 6D3596158C for ; Tue, 1 Nov 2022 09:57:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CF2EC433C1; Tue, 1 Nov 2022 09:57:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1667296637; bh=1Bxrnk+9FXXmhGagERBq1YQ+2rMQximZy39dIJDtQpc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e2N9RCz2VCHu1rPbXfsv82ufhgj2dGpJuJ4fmdHYF2iujo048kuXV7qwTgc0TT0Xv F1QO5aH7XeJOAJ3aTrSxozQBszzGmbLEznYEGwOa0Nnggz3UlxoVEv2Tn61iMUhLip cR46D+Oti2dhldvP1gzs93z75PBXrvIlbFE9JmZU= Date: Tue, 1 Nov 2022 10:40:14 +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 v2] staging: vt6655: change variable name wTimeStampOff 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=-8.2 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 Tue, Nov 01, 2022 at 08:24:18AM +0000, Tanjuate Brunostar wrote: > Change the variable name wTimeStampOff to adhear to Linux kernel coding > style, which does not allow naming variables in CamelCase. error is > reported by checkpatch > > Signed-off-by: Tanjuate Brunostar > --- > drivers/staging/vt6655/rxtx.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c > index 1e5036121665..9bdcf2337235 100644 > --- a/drivers/staging/vt6655/rxtx.c > +++ b/drivers/staging/vt6655/rxtx.c > @@ -54,7 +54,7 @@ > */ > #define CRITICAL_PACKET_LEN 256 > > -static const unsigned short wTimeStampOff[2][MAX_RATE] = { > +static const unsigned short time_stamp_off[2][MAX_RATE] = { > {384, 288, 226, 209, 54, 43, 37, 31, 28, 25, 24, 23}, /* Long Preamble */ > {384, 192, 130, 113, 54, 43, 37, 31, 28, 25, 24, 23}, /* Short Preamble */ > }; > @@ -130,7 +130,7 @@ static __le16 s_uFillDataHead(struct vnt_private *pDevice, > > static __le16 vnt_time_stamp_off(struct vnt_private *priv, u16 rate) > { > - return cpu_to_le16(wTimeStampOff[priv->preamble_type % 2] > + return cpu_to_le16(time_stamp_off[priv->preamble_type % 2] > [rate % MAX_RATE]); > } > > -- > 2.34.1 > > Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - This looks like a new version of a previously submitted patch, but you did not list below the --- line any changes from the previous version. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what needs to be done here to properly describe this. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot