Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1911775rwp; Thu, 13 Jul 2023 19:53:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlGNQusaNVEQj+IXhjlJAB+64j+ER9FPXhVl2PEMAsdDyQMWZnQdspZ6k2/GpVK2nhdTqFVx X-Received: by 2002:a17:902:e88d:b0:1b0:f8:9b2d with SMTP id w13-20020a170902e88d00b001b000f89b2dmr3604104plg.29.1689303216278; Thu, 13 Jul 2023 19:53:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689303216; cv=none; d=google.com; s=arc-20160816; b=QEDXXazeN2EyZJqUGrsDeIsyn+F7np1Di8L6hLpmw/9/GMCdhrO4iqp78JhkLPwkLf HKOXs2VmxwAaiETX91zr9BeK8Juxa4ynCm5jXCiSW7X49o5pxLU0LnZeupFO0J3zAdFi /eiMrwyeA6qsuiu1vyj7bARvzoSladGrS+kQTdo8QXNOemLODZO8QaYJV26Kb+DHCmL9 oknki9MV+3MVA/hkX0dSIdExmda2ciACLvodlaO1hPYgHI1/D5WJ2McGioz5qSphAStJ 7PH/Kh3WPwsX9/VdosIEzGZlx8Np3F37tXUoZIaks0dUB/Lecp7KZPlgoisewDSa8sLJ 21SQ== 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 :dkim-signature; bh=668zHQ8W+LkFgrScVtZihERVAut29dlTlOHr9Ze3ntM=; fh=51IzNZmagD3mP4f6J9p982Ldrnnoj+zuNqxTMR7b0r0=; b=NvxL3EsfChioffQs/fNChAD70+6361AMSyh1JyFJMMUJEaeOU0Jx1mWM0Y6rMCYMS/ GUUSvtSsPFwgZnAckcg06/jYrNiqHq1FCMSWNTtsmHy45aHeQHtB3cH2OuUvNrbT9mMt xTtelaxgkAwYZHCpnJLFcWZxAh0+3dixN6axQE8xXuO7KpzfZys/RfKh1vZLN013G4nS C3DQANgCuxVeD8XYvbNi6XNYYQeHWFD54OZa8AoCw/ZT4uf+8hlyQ92qdvktSD+DrnBf YtYmZq0oRSeERqswez7rnlhCWKN1Z3kvsKs+xDGieoScdd4SuifTB4WemBAYlT4Ogyzq 4kfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=GNa4NRsV; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=Yzl0XM0r; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kx14-20020a170902f94e00b001b9ea0f6c7csi6027081plb.540.2023.07.13.19.53.23; Thu, 13 Jul 2023 19:53:36 -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=@pobox.com header.s=sasl header.b=GNa4NRsV; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=Yzl0XM0r; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234046AbjGNCs5 (ORCPT + 99 others); Thu, 13 Jul 2023 22:48:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229580AbjGNCs4 (ORCPT ); Thu, 13 Jul 2023 22:48:56 -0400 Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 855EC2733 for ; Thu, 13 Jul 2023 19:48:55 -0700 (PDT) Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 1BF9E3B95D; Thu, 13 Jul 2023 22:48:55 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=date:from :to:cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=sasl; bh=SgIJz7mmb8KnUA+ivOGmsW6RyQgzeGYwa1Kwp8+ hCMI=; b=GNa4NRsVPatdAJC2I/VkGv5s911BygoHjjs9zUnGluHqnxzv2HXqOdT opOnUsP8JLbRekOIrg6HZcCmbpYIvIN9lPHW8OwBqK1QDHqSKkr/DDi+acr+fF38 +LiHPIoSGDQEZaxdT3Gznu/N3WM2CHnVgwiqRmobcsjnrvmL4gu4= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 138CA3B95C; Thu, 13 Jul 2023 22:48:55 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=date:from:to:cc:subject:message-id:references:mime-version:content-type:in-reply-to; s=2019-09.pbsmtp; bh=SgIJz7mmb8KnUA+ivOGmsW6RyQgzeGYwa1Kwp8+hCMI=; b=Yzl0XM0rjRBBkye2NyiGKiv0fLrX30P8mU1PmS6fuSTsLu1XrRtasq7AXHmDQ6C0AWeADeicl/oiSuILVCF5RQfVwyb1GdCFpcTRKqrtRm4cnYf/eUaQ5o+tQPTJZ2zT6fFVYKgC4yQdEwuqx7mu6fTllEJAFfprATUzRY0Ueko= Received: from basil (unknown [76.146.178.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 65BF93B91E; Thu, 13 Jul 2023 22:48:51 -0400 (EDT) (envelope-from tdavies@darkphysics.net) Date: Thu, 13 Jul 2023 19:49:39 -0700 From: Tree Davies To: Philipp Hortmann Cc: gregkh@linuxfoundation.org, anjan@momi.ca, error27@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 09/12] Staging: rtl8192e: Rename variable pBA Message-ID: References: <724b252e-0c72-6c77-4817-aee8d87a99cb@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <724b252e-0c72-6c77-4817-aee8d87a99cb@gmail.com> X-Pobox-Relay-ID: F70F9A34-21F0-11EE-878D-C2DA088D43B2-45285927!pb-smtp20.pobox.com X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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, Jul 13, 2023 at 11:54:40PM +0200, Philipp Hortmann wrote: > On 7/13/23 01:35, Tree Davies wrote: > > Rename variable pBA to pba in order to Fix checkpatch > > warning: Avoid CamelCase > > > > Signed-off-by: Tree Davies > > --- > > drivers/staging/rtl8192e/rtl819x_BAProc.c | 106 +++++++++++----------- > > drivers/staging/rtl8192e/rtllib.h | 2 +- > > 2 files changed, 54 insertions(+), 54 deletions(-) > > > Hi Tree, > the p is typically for pointer. This is not wanted when you change the name. > But ba is is in use.... > > Bye Philipp Thanks Philipp, A few thoughts... Looking at occurances of pBA, they all appear as local variable declarations of struct ba_record, mostly as function params. I also see what you mentioned, as BA being already taken in rtl819x_BAProc.c:394 and line 292, but I don't 'think' that renaming them both to ba will result negatively(?). Agreed, let's wait on Greg. Cheers! Tree