Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp89958rdb; Mon, 14 Aug 2023 10:18:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH+fJQP8AoKZelBMMG4sm1Hcg+JV9wBWdK9t/CMv6mGpHsyFo80lhe6E6iPFkO+M+sYcytE X-Received: by 2002:a05:6a21:4988:b0:132:cb65:b47c with SMTP id ax8-20020a056a21498800b00132cb65b47cmr9408242pzc.43.1692033480917; Mon, 14 Aug 2023 10:18:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692033480; cv=none; d=google.com; s=arc-20160816; b=EVkjJTZ54K4LIq7CQkdI/iQWlzv+c5DXcK9FgIA/ndxE2WmQ/W17DxrIN8c0NFJsI4 6k7cvgFv/yUkcs2iTQw1uhXQn55QiVeb/okWbLQ27hReGq66QQZ87XQpG3iQxssopX4+ pq7/oGzTLpvkeY1HWwS5QqdK3I1cJ4lAetIaIrKgrlnxyDYVo0TP3I1w3YPWqvI5Hk4k Vi5mtAbwQoqs3nBisfon/AIrl7yZmav4aZth5VaV5/J9PKi1weznu8Kbr6YRxUKF9CuQ BUa+d0rwrhnzQ3E5B119NHz2jp5g9hLwkQiLSnHYoELWg5Bll4qOrH5iXbDONMg+p0e5 3h4Q== 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=8Pbbk2PaBad46fmgefJebPMASJbJJlCGxD9iouD2EQk=; fh=QanI1qelc78dZznq7BooFCXsqoXQFLtQ9w19f/WW1+o=; b=whtZRBVA2Sz6pm7Cybv1RAYq8hJbXod2d1ZueMfblqH58ERViZvy5vJpGVwdlVw8ru oXyYwqGP4G/tgpYS6eqlQ79KUmvhSD5BKu08HMm41Vckk8ABTy5ql3VLZ7mnqZ1oFeLi 8AxnNloDVHYY5BRLPhqy7twG1Il4pAL5DOvNu7Gv7OGk6f2O5WNvPiRqsV5mY0MgAKzX TbfTvw2fBSZie10C/zEDeJHjzrCGZuF714m1dzHYHQFqEH/Eq2oGr1NqQJWHzqeMLWaa jnuT4BsJ9VK31jmv9fTjv7XFJcObV/a7hXOlXPZ07PIGKKSyyfN0MvIonhElVba9Xxrt UGDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=irmSdkDT; 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 t184-20020a6381c1000000b0055c8819f0easi8410326pgd.726.2023.08.14.10.17.32; Mon, 14 Aug 2023 10:18:00 -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=irmSdkDT; 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 S230355AbjHNPU7 (ORCPT + 99 others); Mon, 14 Aug 2023 11:20:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232862AbjHNPUr (ORCPT ); Mon, 14 Aug 2023 11:20:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DD1DE7E for ; Mon, 14 Aug 2023 08:20:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BB9E8615FB for ; Mon, 14 Aug 2023 15:20:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AEF92C433C8; Mon, 14 Aug 2023 15:20:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1692026445; bh=0MiIjS3nfvaQfGp1+RDGUO0INX5kTwftJzMwYEVSfrc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=irmSdkDT9pZgJSwZAGJDhazAQ/y05c6njIwaQceg/xx588uzbrG+oHACkn8QBatka 2d1y2GOo20/LAYI/q1bCApPpUFkXvNoKvn8GMbMydGomdoHJYMmjdSJx/prMU1gQbs mwl13OKQwAT3KhZPZJk8QUrRY/Hm8jXmYa2Ge2lQ= Date: Mon, 14 Aug 2023 17:20:40 +0200 From: Greg KH To: Pavan Bobba Cc: Julia Lawall , Forest Bond , Michael Straube , Philipp Hortmann , outreachy@lists.linux.dev, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] staging: vt6655: replace camel case by snake case Message-ID: <2023081442-cartridge-thaw-1656@gregkh> References: <2023081150-hamster-sulfide-4231@gregkh> 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 Mon, Aug 14, 2023 at 06:32:01PM +0530, Pavan Bobba wrote: > On Sat, Aug 12, 2023 at 08:41:51PM +0200, Julia Lawall wrote: > > > > > > On Sat, 12 Aug 2023, Pavan Bobba wrote: > > > > > On Fri, Aug 11, 2023 at 11:27:10PM +0200, Greg KH wrote: > > > > On Wed, Aug 09, 2023 at 06:17:22PM +0530, Pavan Bobba wrote: > > > > > Replace array name of camel case by snake case. Issue found > > > > > by checkpatch > > > > > > > > > > Signed-off-by: Pavan Bobba > > > > > --- > > > > > v1 -> v2: 1. array name renamed from byVT3253B0_RFMD to by_vt3253b0_rfmd > > > > > 2. typo in the subject line "small case" corrected with the > > > > > proper word "snake case" > > > > > > > > > > Signed-off-by: Pavan Bobba > > > > > --- > > > > > drivers/staging/vt6655/baseband.c | 6 +++--- > > > > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > > > > > > > diff --git a/drivers/staging/vt6655/baseband.c b/drivers/staging/vt6655/baseband.c > > > > > index 0e135af8316b..cc8793256661 100644 > > > > > --- a/drivers/staging/vt6655/baseband.c > > > > > +++ b/drivers/staging/vt6655/baseband.c > > > > > @@ -499,7 +499,7 @@ static const unsigned char by_vt3253_init_tab_rfmd[CB_VT3253_INIT_FOR_RFMD][2] = > > > > > }; > > > > > > > > > > #define CB_VT3253B0_INIT_FOR_RFMD 256 > > > > > -static const unsigned char byVT3253B0_RFMD[CB_VT3253B0_INIT_FOR_RFMD][2] = { > > > > > +static const unsigned char by_vt3253b0_rfmd[CB_VT3253B0_INIT_FOR_RFMD][2] = { > > > > > > > > Again, the "by" needs to just be dropped. > > > > > > > > thanks, > > > > > > > > greg k-h > > > > > > hi greg...did'nt get your comment. can you please provide more elaborate > > > info? > > > > Drop the letter "by_" at the beginning of the function name. It is there > > ot indicate the type, which isn't done in the kernel. > > > > julia > > this is'nt a function name but an array name. is in't it fine? > Not at all. The issue is the name, why are you just adding a "_" here? What does "by" mean? (hint, this is a rhetorical question, I know, I need you to figure it out so you know how to properly rename the variable here...) thanks, greg k-h