Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3012173rdg; Tue, 17 Oct 2023 01:35:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHlhE9yxrUkjl74fo7tyfDIfo2QxACT/aXi4KSgj938fET6nuvj0QdnAVlEp0/DH2LdfDjF X-Received: by 2002:a05:6122:3197:b0:4a1:8aa1:8dcd with SMTP id ch23-20020a056122319700b004a18aa18dcdmr1694591vkb.15.1697531702288; Tue, 17 Oct 2023 01:35:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697531702; cv=none; d=google.com; s=arc-20160816; b=LNM1D3m7QVG20NYno3fKsaZAi669mYTXIZfA50O43hF1ql+XxmcYPvtzfZ7O/Vt2tz lPSemw7ZIo6CAlDvb4YF/UBxLPXkUsQ8zKzArIo1UuRNSB477nmUzZMvkATMCVLPIhci wPPCUZ+B5rCz8HC5pFctFfoExzC1mFHyfmSwhFC56QlBdF7g0ymSw/Sl2yGCAj8sDjjo Sw5y60YTxNeoRIE5Cck2OWf+GSxUhT7PLzNVxIBXCOc+wuhKBUQ95DvOcy//tw8LSkje xILojyAKUy5bZ9bxLq29/n2Jyt1PT4zh1Y1cdYsu/Klb9sz/jU4EWFIBgtSWtVAaeOXy Uemw== 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=n78nnw4w4+qasS1j/9R1C7dOYMry6aS+Qpkw70iVBvA=; fh=+sDgffjBeLshjFnBLf64Ly4ul2uuZFG2F0LWhxFaBMo=; b=quUHLCHFQvt9aq+E3ncoHODViLOZ6AiE6RcXTyznCfVLlyK4L05pLi5tsmBnkNKjTs qzL3XJ8USMSRC9GzHuXp4xLew7Niv6lWRfH/SJewCBSkmcFoaVPoSjNYPfPH615w5rHx hZXLJAx5+pfQeaUfOS1H37sYfR/572wi2tJ20ZfCiZsOKK2MFhpE4XdxMF2QOp8TcUMH Umx2JBcEcuM2tdsdrzI6bV3r2iclma3ysQDiLb2uATf+kaFC8E1KFStWXQlouo1CjeGU a9GYbwczcgw0O2eAL9X9WQ/MqzXw1oyoT/hkZMiR4U3Brg47acKQpgdEVqfubfhYKVIu MF1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rRU59vNp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id c17-20020a656751000000b005893b7094easi1310223pgu.554.2023.10.17.01.35.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 01:35:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rRU59vNp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 6F4E780B9503; Tue, 17 Oct 2023 01:34:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234728AbjJQIeu (ORCPT + 99 others); Tue, 17 Oct 2023 04:34:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234708AbjJQIes (ORCPT ); Tue, 17 Oct 2023 04:34:48 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDD22E8; Tue, 17 Oct 2023 01:34:46 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5CC8C433C7; Tue, 17 Oct 2023 08:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1697531686; bh=cjDjO6PGPcTTJY+/Yg1XGUcSwRarZe6dK3IlxmRulQc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rRU59vNpXQuIVFnrJ+f6DXxM9qkxDIR7ENM1LANhCJNHDk3Dr5wTuRpykOnLPbTya NHinw/DcDWDg+SPzBok8lba60YXRUPXeNRI6NrwoqUMn8RTXn14QebpWtwGa2cL+Gm 7SQxnp8Z83kGMr4Y+jPSBhPofqPbinAfkKcLdLlE= Date: Tue, 17 Oct 2023 10:34:43 +0200 From: Greg Kroah-Hartman To: Dorcas Litunya 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, andi.shyti@linux.intel.com Subject: Re: [PATCH v2 1/5] Staging: sm750fb: Rename displayControlAdjust_SM750E Message-ID: <2023101712-grudge-overtime-1f43@gregkh> References: <20231016201434.7880-1-anonolitunya@gmail.com> <20231016201434.7880-2-anonolitunya@gmail.com> <2023101724-diagram-legwork-0e53@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 howler.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 (howler.vger.email [0.0.0.0]); Tue, 17 Oct 2023 01:34:59 -0700 (PDT) On Tue, Oct 17, 2023 at 11:28:06AM +0300, Dorcas Litunya wrote: > On Tue, Oct 17, 2023 at 09:50:50AM +0200, Greg Kroah-Hartman wrote: > > 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. > > > Hi Greg, > > I will do the correction in the next patchset to correct both functions > return value as this patchset was not focused on that. Does this mean > that this patchset has been accepted? Or should I submit another > patchset that includes the two changes suggested on function return > values? You'll get an email from my system when it is accepted, wait a day or so before worrying about that. And then send new patches on top of them then. thanks, greg k-h