From: sashiko-bot@kernel.org
To: "Varadarajan Narayanan" <varadarajan.narayanan@oss.qualcomm.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v2 2/2] clk: qcom: apss-ipq-pll: Add IPQ5210 support
Date: Wed, 01 Jul 2026 07:15:33 +0000 [thread overview]
Message-ID: <20260701071534.456D61F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260701-apss-clk-v2-2-776d054ab8c3@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Missing 'const' qualifier on 'ipq5210_pll_data' structure.
--
commit 82121884055bac497befa1efc2a14f014cd9e6e1
Author: Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>
clk: qcom: apss-ipq-pll: Add IPQ5210 support
The Application Processor Subsystem on the IPQ5210 platform sources
its clock from the Huayra PLL. Add the configuration data necessary
to set it up.
> diff --git a/drivers/clk/qcom/apss-ipq-pll.c b/drivers/clk/qcom/apss-ipq-pll.c
> index 3a8987fe7008a..569ac76c75dc3 100644
> --- a/drivers/clk/qcom/apss-ipq-pll.c
> +++ b/drivers/clk/qcom/apss-ipq-pll.c
[ ... ]
> @@ -140,6 +152,12 @@ static const struct apss_pll_data ipq5018_pll_data = {
> .pll_config = &ipq5018_pll_config,
> };
>
> +static struct apss_pll_data ipq5210_pll_data = {
[Severity: Low]
This isn't a bug, but should this structure be marked as const to match
the other apss_pll_data structs in this file? Without the const qualifier,
the structure gets placed in the mutable data section rather than rodata.
> + .pll_type = CLK_ALPHA_PLL_TYPE_HUAYRA,
> + .pll = &ipq_pll_huayra,
> + .pll_config = &ipq5210_pll_config,
> +};
> +
> static const struct apss_pll_data ipq5332_pll_data = {
> .pll_type = CLK_ALPHA_PLL_TYPE_STROMER_PLUS,
> .pll = &ipq_pll_stromer_plus,
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260701-apss-clk-v2-0-776d054ab8c3@oss.qualcomm.com?part=2
next prev parent reply other threads:[~2026-07-01 7:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-01 7:09 [PATCH v2 0/2] Add APSS clock driver support for IPQ5210 Varadarajan Narayanan
2026-07-01 7:09 ` [PATCH v2 1/2] dt-bindings: clock: qcom,a53pll: Add IPQ5210 compatible Varadarajan Narayanan
2026-07-01 7:09 ` [PATCH v2 2/2] clk: qcom: apss-ipq-pll: Add IPQ5210 support Varadarajan Narayanan
2026-07-01 7:15 ` sashiko-bot [this message]
2026-07-02 6:44 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260701071534.456D61F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=varadarajan.narayanan@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.