Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2994709rdg; Tue, 17 Oct 2023 00:51:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFmi52Jnf5bturfqVKAeYAYHPddYc3BRyomUAKywKgT34Z5d6+vwx3Z9UxEOjFr/4nRMrVR X-Received: by 2002:a17:902:f945:b0:1c7:8445:9d53 with SMTP id kx5-20020a170902f94500b001c784459d53mr1285651plb.63.1697529086222; Tue, 17 Oct 2023 00:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697529086; cv=none; d=google.com; s=arc-20160816; b=HG6B9GU6W3WYc6SH8F0lcy2uxYofn79zSqKzH+yEvbrIBfkFrwEPpL43mFRmKXmVi7 /antKvBR9kMok4xtP7k+vnfroBYHGXLc2IDLeZta2nqP30siXCAvFmVDR9ZPkhFm3Msq SWCfCbckiIboFdhvRcLyCs+EUcBUv96wT+1q8Q8EDtPPH8pfb2H0bZLtIsgM11NMRSfZ xF/zuyUiNXJf8BNvlIkY5JkqsTXUig0Z6yMWj2t72y5rOwZwoGWH2JW03kxZ0lV302f7 0xL8BIsz5T825J9l9Dm93kDZJF7PpAx0ZIpLJDTiW8xr5g3e1ufnuJPfxqO/iRfFejCA 9vIg== 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=+R+xcAFAZINhLYHElXxAQEHDQ1KUQJiovO2jGXJdPr0=; fh=5VdKrgqDcw9VZrgts2XzABrQldfMvPfdtlXCNTV8uvM=; b=xHl2+NgGxmbrL/PAFp0z4PWs7n/PAoi2ay1iERtlQ3GNsQ/FFItsazCa0RG5m82QCm WgWNiwMPdmod29OPdbdSBld0+kceUo4jq8gbhaXbXRlS0t+ozRLvhaG8rl096XxP1vRT cK4tMFF5jCa1cn3TezrYSiKckTWIAsRIKIXzgVm2HUlkbDt9yHDA2cvp2kVtnHPuOZb2 +ud5P2U4RfXCr+JBACcumCQ7zlg3NoWls2j0hX7RMAka/zv9VvKyqCmy8V5nsAk4E1Wv Hvf2le9PA6C6YmCsi5DhlonlXMI5ZUqW3fhPmOkKrq60ipMhtEy9br0vpimB8521GKs3 GfJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QSC4iWLI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id e7-20020a17090301c700b001c4749ee72csi1165679plh.503.2023.10.17.00.51.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 00:51:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QSC4iWLI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 1314F80B131B; Tue, 17 Oct 2023 00:51:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234661AbjJQHvN (ORCPT + 99 others); Tue, 17 Oct 2023 03:51:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234727AbjJQHvL (ORCPT ); Tue, 17 Oct 2023 03:51:11 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A68AF7; Tue, 17 Oct 2023 00:51:05 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E805C433CC; Tue, 17 Oct 2023 07:51:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1697529065; bh=LMbMxaMKaTNIfzrp/tf2/dOlav9L6MhzVw0qA4YUp3k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QSC4iWLI1HUQUvIlRNCKzeTRqWoYbZ4K/jP21yNvC5634H7SUB6EwXxMJPw1Jn0Xp RCxLJYclgU+rDQTIH7iBNsMBsEfs03590ZyAsiYqAYuOLxiPpiEyqaAAj7tQ5JPRyW 0/VNdUF7kBEUxB8yeRzrt+oMTel1p9wEdvvAV85Y= Date: Tue, 17 Oct 2023 09:50:50 +0200 From: Greg Kroah-Hartman To: Dorcas AnonoLitunya Cc: outreachy@lists.linux.dev, julia.lawall@inria.fr, dan.carpenter@linaro.org, Sudip Mukherjee , Teddy Wang , linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/5] Staging: sm750fb: Rename displayControlAdjust_SM750E Message-ID: <2023101724-diagram-legwork-0e53@gregkh> References: <20231016201434.7880-1-anonolitunya@gmail.com> <20231016201434.7880-2-anonolitunya@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231016201434.7880-2-anonolitunya@gmail.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 17 Oct 2023 00:51:24 -0700 (PDT) On Mon, Oct 16, 2023 at 11:14:08PM +0300, Dorcas AnonoLitunya wrote: > Rename function displayControlAdjust_SM750E to > display_control_adjust_SM750E. This follows snakecase naming convention > and ensures a consistent naming style throughout the file. Issue found by > checkpatch. > > Mutes the following error: > CHECK:Avoid CamelCase: > > Signed-off-by: Dorcas AnonoLitunya > --- > drivers/staging/sm750fb/ddk750_mode.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/staging/sm750fb/ddk750_mode.c b/drivers/staging/sm750fb/ddk750_mode.c > index e00a6cb31947..8708995f676c 100644 > --- a/drivers/staging/sm750fb/ddk750_mode.c > +++ b/drivers/staging/sm750fb/ddk750_mode.c > @@ -14,8 +14,8 @@ > * in bit 29:27 of Display Control register. > */ > static unsigned long > -displayControlAdjust_SM750LE(struct mode_parameter *pModeParam, > - unsigned long dispControl) > +display_control_adjust_SM750LE(struct mode_parameter *pModeParam, > + unsigned long dispControl) > { > unsigned long x, y; > > @@ -125,7 +125,7 @@ static int programModeRegisters(struct mode_parameter *pModeParam, > tmp |= DISPLAY_CTRL_HSYNC_PHASE; > > if (sm750_get_chip_type() == SM750LE) { > - displayControlAdjust_SM750LE(pModeParam, tmp); > + display_control_adjust_SM750LE(pModeParam, tmp); Why is this function returning a value if it is just being ignored? It's not the issue here in the patch, but for future changes. thanks, greg k-h