[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <08d2d8977847e1bc0bfcb1b884a6fb59.sboyd@kernel.org>
Date: Tue, 17 Dec 2024 11:40:51 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Eugen Hristev <eugen.hristev@...aro.org>, linux-arm-msm@...r.kernel.org
Cc: linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org, konradybcio@...nel.org, andersson@...nel.org, evgreen@...omium.org, Eugen Hristev <eugen.hristev@...aro.org>
Subject: Re: [PATCH v4] soc: qcom: Rework BCM_TCS_CMD macro
Quoting Eugen Hristev (2024-11-29 06:24:46)
> Reworked BCM_TCS_CMD macro in order to fix warnings from sparse:
>
> drivers/clk/qcom/clk-rpmh.c:270:28: warning: restricted __le32 degrades to integer
> drivers/clk/qcom/clk-rpmh.c:270:28: warning: restricted __le32 degrades to integer
>
> While at it, used u32_encode_bits which made the code easier to
> follow and removed unnecessary shift definitions.
>
> The use of cpu_to_le32 was wrong and thus removed.
>
> Signed-off-by: Eugen Hristev <eugen.hristev@...aro.org>
> ---
Thanks
Reviewed-by: Stephen Boyd <sboyd@...nel.org>
Powered by blists - more mailing lists