Linux clock framework development
 help / color / mirror / Atom feed
* [PATCH 1/2] clk: qcom: gcc-kaanapali: Fix double array initializer
@ 2025-12-24 11:22 Krzysztof Kozlowski
  2025-12-24 11:22 ` [PATCH 2/2] clk: qcom: rpmh: Fix double array initializer on Kaanapali Krzysztof Kozlowski
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2025-12-24 11:22 UTC (permalink / raw)
  To: Bjorn Andersson, Michael Turquette, Stephen Boyd,
	Nathan Chancellor, Nick Desaulniers, Bill Wendling, Justin Stitt,
	Konrad Dybcio, Taniya Das, Dmitry Baryshkov, linux-arm-msm,
	linux-clk, linux-kernel, llvm
  Cc: Krzysztof Kozlowski

[GCC_QMIP_VIDEO_VCODEC_AHB_CLK] element in clk_regmap array is already
initialized, as reported by W=1 clang warning:

  gcc-kaanapali.c:3383:36: error: initializer overrides prior initialization of this subobject [-Werror,-Winitializer-overrides]

Fixes: d1919c375f21 ("clk: qcom: Add support for Global clock controller on Kaanapali")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

---

Does anyone even build this code before sending it to upstream?
---
 drivers/clk/qcom/gcc-kaanapali.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/clk/qcom/gcc-kaanapali.c b/drivers/clk/qcom/gcc-kaanapali.c
index 182b152df14c..b9743284927d 100644
--- a/drivers/clk/qcom/gcc-kaanapali.c
+++ b/drivers/clk/qcom/gcc-kaanapali.c
@@ -3380,7 +3380,6 @@ static struct clk_regmap *gcc_kaanapali_clocks[] = {
 	[GCC_QMIP_VIDEO_CV_CPU_AHB_CLK] = &gcc_qmip_video_cv_cpu_ahb_clk.clkr,
 	[GCC_QMIP_VIDEO_CVP_AHB_CLK] = &gcc_qmip_video_cvp_ahb_clk.clkr,
 	[GCC_QMIP_VIDEO_V_CPU_AHB_CLK] = &gcc_qmip_video_v_cpu_ahb_clk.clkr,
-	[GCC_QMIP_VIDEO_VCODEC_AHB_CLK] = &gcc_qmip_video_vcodec_ahb_clk.clkr,
 };
 
 static struct gdsc *gcc_kaanapali_gdscs[] = {
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-01-03  4:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-24 11:22 [PATCH 1/2] clk: qcom: gcc-kaanapali: Fix double array initializer Krzysztof Kozlowski
2025-12-24 11:22 ` [PATCH 2/2] clk: qcom: rpmh: Fix double array initializer on Kaanapali Krzysztof Kozlowski
2025-12-24 12:21   ` Dmitry Baryshkov
2025-12-29 11:48   ` Konrad Dybcio
2026-01-01 18:59   ` Abel Vesa
2025-12-24 12:21 ` [PATCH 1/2] clk: qcom: gcc-kaanapali: Fix double array initializer Dmitry Baryshkov
2025-12-29 11:44 ` Konrad Dybcio
2026-01-01 18:58 ` Abel Vesa
2026-01-02 21:10 ` Bjorn Andersson
2026-01-02 21:43   ` Bjorn Andersson
2026-01-03  4:34 ` (subset) " Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox