Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5539174rwb; Wed, 9 Aug 2023 05:54:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IENGUcsZL2MHEJQVhlu6LbSGeanv3pNajRqoc/RlCDHZbLnFzh++VO3is6YwFTu6APtkT5I X-Received: by 2002:a05:6a00:22d4:b0:681:c372:5aa4 with SMTP id f20-20020a056a0022d400b00681c3725aa4mr3323616pfj.27.1691585670790; Wed, 09 Aug 2023 05:54:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691585670; cv=none; d=google.com; s=arc-20160816; b=vwzOIwCJMWicVO8Y2jgQ3YL78wPCU+tCyGD9Ld1LONXgdRVxcPNVu9IyB696Ze9VUd JT8riiumv0KaBEJGuAZTQFyfG4tSXtZpd5ZH/6ssXvTtDk5DlvIDKFUdkMNrleUpG6s8 8w1E0nc2bcWAt5/ZzThmLBJE/gAWnOt/Svq6JQr97JYGNObWXkRZogXoBH66QXV0vuED Wj00VjlYnL2OkGAjLcGrbWdaNDTkU4XJS25vzxmGlI+Qx49k9+J/BYqLUViz685F0t6N TSZuDq23J16nsc/gAlFSw2QH5V6//q15uPincAm16es5WreO+FF5fdR1r25bFdiBaBu6 cX0Q== 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=RQPK2QoSqkAs/si7ci64Tr0ncjmzpqwoaolh65WR+24=; fh=e1U0b9HON8r6v10vPHnOllmjL3henGiJbtI9QKAjb9g=; b=JEdI/4pmEao2twMVWFr05Mo6zFy4QpmwqjQ8z+Rzmwi6QP5OIVCmqeuX8G+NtFooyS /Ij+fAQalW0er2bEGuG8507qD47Rvsqj1KRaJQkWhKeCpHlJdgl/iv2axR6C+k2i9/Zx XddmCGfH5x74MlgaWb86bb9il0KUD+wWXc5xbypzc9MvRp+yQPAOeRg2/UINGHnrNdz4 VX8ViW2tvPXr0/MUqJMvK5kncysDtU4tWD55yZwn/lrqSuxjznU+0wVEO3xE7BhfwwvZ BFuNzZvRKzzEQoGE/fNKDR7kYA3+Vnh2EMHloO4bqvMbNTzIo8dL80Y1PHzlYGb8oGS5 D6Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vVOMtPVA; 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 e12-20020a65688c000000b00524eef20da6si9105594pgt.642.2023.08.09.05.54.18; Wed, 09 Aug 2023 05:54:30 -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=vVOMtPVA; 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 S232091AbjHIMUX (ORCPT + 99 others); Wed, 9 Aug 2023 08:20:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231804AbjHIMUW (ORCPT ); Wed, 9 Aug 2023 08:20:22 -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 1ACEE1BF0 for ; Wed, 9 Aug 2023 05:20:22 -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 A46A0636C7 for ; Wed, 9 Aug 2023 12:20:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ADD23C433C8; Wed, 9 Aug 2023 12:20:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1691583621; bh=qkd5uVTEEPS8zjHnXRACa23VVQLyxESeRtfjdn1FCf8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vVOMtPVAXbbpGMJ9HCdTTuSg6N7NfPF3/Tv5UonXmWUx7Zzr8aLJRzS5bb4bg1ia2 deq3rrAYlGfAuMtR2Jk8TVs66tK82eSlnTQ9Qe6WDZumwcB3oT9vvTukdgns8kAtjz 80YwCm9N7uazPhXe+qoJ8lC7yHMwcvxL4KXm46Pk= Date: Wed, 9 Aug 2023 14:20:18 +0200 From: Greg KH To: Pavan Bobba Cc: 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: <2023080918-opulently-eclipse-7555@gregkh> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 Sat, Aug 05, 2023 at 02:29:04PM +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.character '_' added in the array name "byvt3253b0_rfmde" > 2. typo in the subject line "small case" corrected with the > proper word "snake case" > > 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..8b913c64845c 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 byvt3253b0_rfmd[CB_VT3253B0_INIT_FOR_RFMD][2] = { The "by" here means "byte", a horrible naming scheme that was popular in the 1990's when C compilers would not check the types of variables. No need for that here, this should just be "vt3253b0_rfmd", right? thanks, greg k-h