lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1b133002-f36f-4f94-86f9-d6cd12d96946@oss.qualcomm.com>
Date: Mon, 8 Dec 2025 11:14:46 +0530
From: Taniya Das <taniya.das@....qualcomm.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@....qualcomm.com>,
        Bjorn Andersson <andersson@...nel.org>,
        Michael Turquette <mturquette@...libre.com>,
        Stephen Boyd
 <sboyd@...nel.org>, linux-arm-msm@...r.kernel.org,
        linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clk: qcom: videocc-sm8750: Constify qcom_cc_desc



On 12/8/2025 7:36 AM, Krzysztof Kozlowski wrote:
> Static 'struct qcom_cc_desc' is not modified by drivers and can be made
> const for code safety.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@....qualcomm.com>
> 
> ---
> 
> My standard commit, one more time. I wonder when I will run out of the
> same commits doing the same...
> ---
>  drivers/clk/qcom/videocc-sm8750.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/qcom/videocc-sm8750.c b/drivers/clk/qcom/videocc-sm8750.c
> index 0acf3104d702..823aca2bdd34 100644
> --- a/drivers/clk/qcom/videocc-sm8750.c
> +++ b/drivers/clk/qcom/videocc-sm8750.c
> @@ -416,7 +416,7 @@ static struct qcom_cc_driver_data video_cc_sm8750_driver_data = {
>  	.clk_regs_configure = clk_sm8750_regs_configure,
>  };
>  
> -static struct qcom_cc_desc video_cc_sm8750_desc = {
> +static const struct qcom_cc_desc video_cc_sm8750_desc = {
>  	.config = &video_cc_sm8750_regmap_config,
>  	.clks = video_cc_sm8750_clocks,
>  	.num_clks = ARRAY_SIZE(video_cc_sm8750_clocks),

Reviewed-by: Taniya Das <taniya.das@....qualcomm.com>

-- 
Thanks,
Taniya Das


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ