Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2994799rdg; Tue, 17 Oct 2023 00:51:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGNuV68nruvfOMVJBcyBdjH3KNoXFWnFG+d3B+tDeKl+n1Hp8IUvyVCbX+1SPMnmjR85Nyy X-Received: by 2002:a05:6830:1605:b0:6bd:b29:85d3 with SMTP id g5-20020a056830160500b006bd0b2985d3mr1389322otr.24.1697529098871; Tue, 17 Oct 2023 00:51:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697529098; cv=none; d=google.com; s=arc-20160816; b=nJsKy2mkKvNgx9JKEujOTEobm+YtIrP+gLGdDrFBm1cZgT279Gqsk2HI1IMmIZbJjw eHuiQopPPRMdHDiUGQ6B/wiBSheP1UgOX0Ms3tNBWPb+89uH4rPwuG3vL2qmlWzH+ANY Wu2JfdjNyVbmogOiHjm2S1zbWpqSMb7l5NlmrbqmXrgODcpaJJKxKxp+FfP9PkEn+yF6 zQgfj+FjDlcBrWz3Hzoy0MzYao9W8tYpqErPKupP7kQ84mG/Loh6CTr+FVodHfBGYtU0 WgKt/URWbfIX+BrsxMw9dyzDGm2KFKHNpviJ7+wfzsG3vZQPW7j9m7Kv7Tg1PTkwpuJO FU9A== 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=VCzZKqnPUOek+oQW19an7N2n041RXMhYy+8mqSi5L1Q=; fh=5VdKrgqDcw9VZrgts2XzABrQldfMvPfdtlXCNTV8uvM=; b=lo/TDa3TRhMA36bPqRXC0yxnnp967FZuiS7IsOL5wrp9jdm+NKovADZ2C7U4o6inIS dYtlSXwF2e5oX5IYLp077c4n4LvqPU0N75lGuKjKdumofJxvYrRZVWipcJ6jj5UlLBhA XSnQ5DCGY6i5tzFfWTh9wAsAjH/LhBahYqGl38KwRbX3Ksgou3PJEEK0brWbPyfGmeO+ M0cenu2P8fsnCT2QbI2I2xsVrOqGRerpDKgrjd8tq/NhXmPj+WwtbhMxcNzkCciPVe8B lxMbGep3oLi9PSSmeKwsvP3CByLfwhSWh5ZNE76s+82ejjjOdKEApoe2mklk3VNEOACo 53xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=P2uO+BeT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id s1-20020a635e01000000b005aa6c0aa22dsi1209311pgb.724.2023.10.17.00.51.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 00:51:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=P2uO+BeT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 35E6080413A8; Tue, 17 Oct 2023 00:51:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343489AbjJQHv0 (ORCPT + 99 others); Tue, 17 Oct 2023 03:51:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234738AbjJQHvU (ORCPT ); Tue, 17 Oct 2023 03:51:20 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 432C3F9; Tue, 17 Oct 2023 00:51:19 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04648C433C8; Tue, 17 Oct 2023 07:51:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1697529078; bh=LQXEF5e62dr/R/72d1cA39kSwjDHnzyBdz56YeqjIIw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=P2uO+BeTR1vz4vtCd906zybVFo4Cpdvk0eRP9uAUlRgTYfwv3RnsNQS3DJEQggmyo u0W4eIOMDesc1NpZERkXHP3H81fbKN9sNlWuhnnnYtiw8qQ+OPbh3EXbTDIBISH/Vj dRCeA0i4iKMRZxQYe/AzW47LmdPQEY0KTl1aN+RU= Date: Tue, 17 Oct 2023 09:51:14 +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 4/5] Staging: sm750fb: Rename programModeRegisters Message-ID: <2023101705-baffling-able-d86a@gregkh> References: <20231016201434.7880-1-anonolitunya@gmail.com> <20231016201434.7880-5-anonolitunya@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231016201434.7880-5-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 pete.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 (pete.vger.email [0.0.0.0]); Tue, 17 Oct 2023 00:51:36 -0700 (PDT) On Mon, Oct 16, 2023 at 11:14:11PM +0300, Dorcas AnonoLitunya wrote: > Rename function programModeRegisters to program_mode_registers. This > follows snakecase naming convention and ensures a consistent naming style > throughout the file. Issue found by checkpatch. > > Mutes the following checkpatch 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 fc3db09de9ae..e901855fa9b6 100644 > --- a/drivers/staging/sm750fb/ddk750_mode.c > +++ b/drivers/staging/sm750fb/ddk750_mode.c > @@ -75,8 +75,8 @@ display_control_adjust_SM750LE(struct mode_parameter *mode_param, > } > > /* only timing related registers will be programed */ > -static int programModeRegisters(struct mode_parameter *mode_param, > - struct pll_value *pll) > +static int program_mode_registers(struct mode_parameter *mode_param, > + struct pll_value *pll) > { > int ret = 0; > int cnt = 0; > @@ -220,6 +220,6 @@ int ddk750_setModeTiming(struct mode_parameter *parm, enum clock_type clock) > outb_p(0x88, 0x3d4); > outb_p(0x06, 0x3d5); > } > - programModeRegisters(parm, &pll); > + program_mode_registers(parm, &pll); Again, the return value is ignored?