Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3009458rdg; Tue, 17 Oct 2023 01:28:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFMXPr5k5wcajXRyfFAOum0OifoQIUqFp6KHjIDQRp4i91k/fVDj/f6/csI3tKOCsovYUiR X-Received: by 2002:a05:6a21:4882:b0:159:cf93:9b50 with SMTP id av2-20020a056a21488200b00159cf939b50mr1265789pzc.46.1697531303699; Tue, 17 Oct 2023 01:28:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697531303; cv=none; d=google.com; s=arc-20160816; b=dOEx5wNHqSDu8jWGq3I3x3FTa3mOPH+gNOVtApKYpcv4/OY71mkbroSQoC8xvsH2J8 LGsCtfgK5QmSZTghQIjnBa3ipykEG5BGBubz1B6Qbxjw8gYuUTdgPiDIg8Uye1CJWXqu FdpplIIb7W7oiqwNgIGkOrjvmP+5C67rUAMJViAkORPhuUNjqbVQz04AO/iPQuCxTlcU 01yku7b8dGDp0UVGO4egT2gctNMXB33yxKetSNlXfoPz/kKeGHqHvI41eIyQHb0f6y/q oX1za/oeUESg0R8+6k/Kg7AV46YJzuBKZToweds/FU4W7HrdjaD7UX0stUrV+pzpTrL7 BvLg== 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=t3/wMuFLDLQySrQ1vNWs6CM5lnw8VddXrmIygItc0fo=; fh=3BXHf5WBmhlEYGMjWZVjVLarIBB2fHOJ8n45PjJEHRs=; b=QbOqMEKWgFm+EG38ZVwa/Ipiw88xWX6rPfju8TGmqEIkk+ynD58qXdVacXYK7viZso O8O57Z6jZKtAqvRqD6y6hUjbHtk+DZjbTGg2GVvyPRfPeM+wmc4G4M0SYTrTFMM3C7vv gDYXIMczo0LIo4B8wgno4S/mGHwYthClJNXIabAUQodSbVkbNcm6uy/US3LacdhyeJRh FvtysjTNJHmLtPPI9RNwzU6wIQtqlbqd77IiPeqSacGZQBR2fQol+H7o75iQlgnwudcq I1Tf9gVpH8Ic57BwbRTFeeyK9wz8o2U3bnL3rhbcJABiSPRjeT94n2oHMxyzs0kMXUB8 EFcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iS4br1xb; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id d18-20020a170903231200b001c5f5153e41si1395099plh.535.2023.10.17.01.28.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 01:28:23 -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=@gmail.com header.s=20230601 header.b=iS4br1xb; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 65E1B80A1A7F; Tue, 17 Oct 2023 01:28:21 -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 S234620AbjJQI2Q (ORCPT + 99 others); Tue, 17 Oct 2023 04:28:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233648AbjJQI2O (ORCPT ); Tue, 17 Oct 2023 04:28:14 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E9F393; Tue, 17 Oct 2023 01:28:13 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-9adb9fa7200so1119564666b.0; Tue, 17 Oct 2023 01:28:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697531292; x=1698136092; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=t3/wMuFLDLQySrQ1vNWs6CM5lnw8VddXrmIygItc0fo=; b=iS4br1xb6e8v+nSqHeHbG3b7QTjRUlLvhtvSi4KPninzoFClRVHAifzZKcGLmPmj5y jwHE+W0tO6Ui4kvW4zhQyAaeePuParwfo8yt/CNWMVq/lVaf0ZmkBf4eDO+UGm4Pt99B NOFj4CARL5nlJaQG4pSJqXJV+g3kwUSD5VbVWhFfNJcrw1OF696w/MH0Tmr+PwOrt2pi VVEwVP1JvJHWVFb1asn6w06+K3UQwTFziijW/Ybc5Y7B3hV19ztbLhcSALfMu4mq8H/0 Fb6NDV3f30GuzNJrwCN7WzYzmbTZ5493RK25u1actpjb1z2xlRx9JRGQcexZS3f7T1Wd qm0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697531292; x=1698136092; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=t3/wMuFLDLQySrQ1vNWs6CM5lnw8VddXrmIygItc0fo=; b=Nd1xs5H0TTO942wed9q3qqkdkFoZrsKLeCMFTs0nuRGF4M4Ufdy9lZIhPYy0SqcTYO n5Bt618ZDCHDCZX6W07NL1SNrNupZecQb0s2jjELRPVmb1BCQuFOoA/lVYrjC6ZA1+Ce 1WDnH2crhq+bHcfKth8GtV+Tsf1XQc6KZi1a5UEjld/ZphRWgRaBAkee6O+J6z0fDNZr HoVGGF6zICRX+RKZlrNCZz90uFZuCKulEQBejxb1i484W9adRkIVyNrxrV+WljLMm5KY cnMbyA7unpOuHcHhTI+qC8HvL5XC8uuRIr5j9/31VFoOscEsw2QSUOhoEvg9V2wxJNh4 GEHQ== X-Gm-Message-State: AOJu0YzRObd8opJR6xWQzcpP4edPdBsIJ9L4AYIzizvrlpP+oMB0ftMy AuLWxktmueotEOzBfqYqIw== X-Received: by 2002:a17:907:86ac:b0:9ad:8641:e91b with SMTP id qa44-20020a17090786ac00b009ad8641e91bmr1091481ejc.11.1697531291363; Tue, 17 Oct 2023 01:28:11 -0700 (PDT) Received: from dorcaslitunya-virtual-machine ([105.163.1.143]) by smtp.gmail.com with ESMTPSA id b21-20020a170906195500b009adc7733f98sm777452eje.97.2023.10.17.01.28.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 01:28:10 -0700 (PDT) Date: Tue, 17 Oct 2023 11:28:06 +0300 From: Dorcas Litunya To: Greg Kroah-Hartman 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: 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: <2023101724-diagram-legwork-0e53@gregkh> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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:28:21 -0700 (PDT) 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? thanks, Dorcas > thanks, > > greg k-h