Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp240061lqg; Thu, 11 Apr 2024 00:54:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVITyHMDx28yF5HWKWUJLqid1DSCVvR3QvxXsJDCQ9ohvczFlWvLrUnM6y94+BgX0YnbA98D32JJwGTXFjvGe4g3it5u2NFOYXmtC6UVQ== X-Google-Smtp-Source: AGHT+IHJiz3mCLRgOa4pVpZ5baobX92yH0OPdc+O0SKWAGPn04Kr51wMF52HMkjIuDJgWRP0W7jY X-Received: by 2002:a50:9f6f:0:b0:56c:1db1:f9eb with SMTP id b102-20020a509f6f000000b0056c1db1f9ebmr3923068edf.19.1712822083662; Thu, 11 Apr 2024 00:54:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712822083; cv=pass; d=google.com; s=arc-20160816; b=FNazJZIyiJeexICKluASPKoY4yebcmaa0gSFf7tAhuZQb64IaI1rlU+GB2HrWBm5OY yaxaZv2i+b1W3qKPm+r/GfbmghzSBgNm6jSHF9G6QALWEHsCVYmYSp/EwASPn3J2DSZX 9ZcjZWie4WJQNJSZHOvL1lQt1LnDIGlwuqZwVUK0m3KICg4cpG2lIqZjQeSC1ZgPnh5Z yopmvpCqTkLREuVaPu04ttHk7e1/TEYa8y/4D6yh7zRIJqKgLOyA5TqqvToH8VVe4LOF GcfQ2e7xXGcmRXmGe+kn1We3X629odiTCi4fj9n1xdJ6qGJynPT/X9Pg8TdLwrwtwMLb +AYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:cc:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=n9O43LLK3KKzFOwxawyiOTLddUOGcgglg33k4NxVOUc=; fh=pT+PcpNBii/zGZATdEheyWEw44FR9ldTe2IYRQMPeVA=; b=nwAjph6Ymy0Hu3ZT2JHXEGFvPzTNDaP5pbxCZvatuEzdOLvgqNRnQK9QcLHSJKB2wD kHzmN9tpHR8LY7NGLSwP69XoPechAg+AwFUpjAL9psx59+dxMiWRVGCnaIVmD+/EENbE zuhNDzYpoKO85hs8DDdhPL9JT3KUXllXl5iGb9xE7HWvCRHKbn/xgd3y7Ns8Uv3FbNZ9 sx/GlFoNwAAb0sNA6fZ1eIJsuIsFLSGY9pdhLk4rbW4nK3Ol+Ful+zHeDtfr6yXPi+a4 itoFEC8EZBgZHj+UAA9VaRj/BhwJQU5sEWthgLsM+Cuyj1HJzS9qgmyZxof/64eZi7a7 lXGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bdjzMzsr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-140031-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140031-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i2-20020a05640242c200b0056e23095718si490512edc.261.2024.04.11.00.54.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 00:54:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140031-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bdjzMzsr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-140031-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140031-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 141BB1F23740 for ; Thu, 11 Apr 2024 07:53:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 119B513E8AF; Thu, 11 Apr 2024 07:53:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bdjzMzsr" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 385EF13E04F; Thu, 11 Apr 2024 07:53:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712821984; cv=none; b=qkWtokyUjmkC6zvcCOFIihKs3pmCr4bgyPrkYfGH6KmaqKjr+fH1zbdJ2iiTdvoxJU8vojF2DzsJOJh0vW8EC//PdNf4ZEp84zYT5vhHEKi06WlBdj68kuEovQB3PSvrP7VZS5b9r4hiefG2/Ulaz9IkfjdRh9PkR2laSYqhAdc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712821984; c=relaxed/simple; bh=3ImRIqYkB4b7VDBaog19HQRqWdwgMXfhcOiygPLA9zw=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=en/Nc2T+KnpJHg76xIIRC69MMYHzNx7UaYJ0x8hJeZtvkRQe5KnZQV3EwK08mQzMc/oW3dpv2wo/RJnxkcBr3JP1Meoye1HvQ3EBEl/8eoT/5DJ5LmbHHBakNyoLDxHE+P+igKH+6mjC8klOM1mXNfPuCDIKBNIZCQ4JZDS1ZHs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bdjzMzsr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97C9CC433F1; Thu, 11 Apr 2024 07:53:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712821983; bh=3ImRIqYkB4b7VDBaog19HQRqWdwgMXfhcOiygPLA9zw=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=bdjzMzsrJ82+Dk+l0GgaVH/AI2FEi5SYevVWiyQDRlnQgmufeMJj4Qz33E8FamsFR N8bD2AKRdykvkWzP/B81JnS0KaMSd8vU/0obrCU7cLQfRk2duWGJ/TzH04sRekILUx G/bWFHbVhFxYcsY9M1hv/NjUK3lEZQ10/cq3gxXIcsYKDnpzqgtEUAMFdnVxosRotS Awk5OWroHTZyqk2F/oQJcszrXbMF8pKViuQ2WPX7uJVUyRFsG+FK3NG5CPVcOdZtku 9ArTWn/vv91+wSSGBrq/DeS4BUUCMcvY+YkywvzWaH2mz2Vc7HtmaXUAMnAas3mxik DZ7/OEemH8u8A== Message-ID: Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20240225-pll-v1-0-fad6511479c6@outlook.com> <20240225-pll-v1-1-fad6511479c6@outlook.com> Subject: Re: [PATCH RFC 1/2] clk: hisilicon: rename hi3519 PLL registration function From: Stephen Boyd Cc: David Yang , Igor Opaniuk , Jorge Ramirez-Ortiz Gmail , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org To: Michael Turquette , Yang Xiwen , Yang Xiwen via B4 Relay Date: Thu, 11 Apr 2024 00:53:01 -0700 User-Agent: alot/0.10 Quoting Yang Xiwen (2024-04-11 00:44:33) > On 4/11/2024 2:52 PM, Stephen Boyd wrote: > > Quoting Yang Xiwen via B4 Relay (2024-02-24 08:56:09) > >> diff --git a/drivers/clk/hisilicon/clk-hi3559a.c b/drivers/clk/hisilic= on/clk-hi3559a.c > >> index ff4ca0edce06..77fa4203a428 100644 > >> --- a/drivers/clk/hisilicon/clk-hi3559a.c > >> +++ b/drivers/clk/hisilicon/clk-hi3559a.c > >> @@ -452,7 +452,7 @@ static const struct clk_ops hisi_clk_pll_ops =3D { > >> .recalc_rate =3D clk_pll_recalc_rate, > >> }; > >> =20 > >> -static void hisi_clk_register_pll(struct hi3559av100_pll_clock *clks, > >> +static void _hisi_clk_register_pll(struct hi3559av100_pll_clock *clks, > > Prefix it with hi3559a then to be SoC specific please. But this is also > > static so I'm not sure why this patch is needed at all. >=20 >=20 > it includes the header that marks this function non-static. Also the=20 > prototype is incompatible. What is 'it'? $ git grep hisi_clk_register_pll drivers/clk/hisilicon/clk-hi3559a.c:static void hisi_clk_register_pll(stru= ct hi3559av100_pll_clock *clks, drivers/clk/hisilicon/clk-hi3559a.c: hisi_clk_register_pll(hi3559av100_= pll_clks,