* [PATCH] clk: microchip: core: fix pointer being initialized twice.
@ 2025-12-08 3:26 Chen Changcheng
2025-12-08 8:37 ` chenchangcheng
0 siblings, 1 reply; 2+ messages in thread
From: Chen Changcheng @ 2025-12-08 3:26 UTC (permalink / raw)
To: mturquette, sboyd
Cc: bmasney, bhelgaas, linux-clk, linux-kernel, Chen Changcheng,
kernel test robot
fix sparse warnings: (new ones prefixed by >>)
>> drivers/clk/microchip/clk-core.c:915:10: sparse: sparse: Initializer entry defined twice
drivers/clk/microchip/clk-core.c:919:10: sparse: also defined here
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202511222115.uvHrP95A-lkp@intel.com/
Fixes: e9f039c08cdc ("clk: microchip: core: convert from round_rate() to determine_rate()")
Signed-off-by: Chen Changcheng <chenchangcheng@kylinos.cn>
---
drivers/clk/microchip/clk-core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/clk/microchip/clk-core.c b/drivers/clk/microchip/clk-core.c
index b34348d491f3..20f25d2db05d 100644
--- a/drivers/clk/microchip/clk-core.c
+++ b/drivers/clk/microchip/clk-core.c
@@ -916,7 +916,6 @@ const struct clk_ops pic32_sclk_ops = {
.set_rate = sclk_set_rate,
.recalc_rate = sclk_get_rate,
.init = sclk_init,
- .determine_rate = __clk_mux_determine_rate,
};
/* sclk with no slew and no post-divider */
base-commit: cc3ee4ba57b76deefb52aee5f57a46dc07bda9f7
prerequisite-patch-id: 6cc5a0ec0db4756cb95c5d67a3d27a57288fdaa7
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] clk: microchip: core: fix pointer being initialized twice.
2025-12-08 3:26 [PATCH] clk: microchip: core: fix pointer being initialized twice Chen Changcheng
@ 2025-12-08 8:37 ` chenchangcheng
0 siblings, 0 replies; 2+ messages in thread
From: chenchangcheng @ 2025-12-08 8:37 UTC (permalink / raw)
To: chenchangcheng, mturquette, sboyd
Cc: bmasney, bhelgaas, linux-clk, linux-kernel, kernel test robot
Sorry, there is no need to reply to this repair
--------------
Chen Changcheng
chenchangcheng@kylinos.cn
>fix sparse warnings: (new ones prefixed by >>)
>>> drivers/clk/microchip/clk-core.c:915:10: sparse: sparse: Initializer entry defined twice
>?? drivers/clk/microchip/clk-core.c:919:10: sparse:?? also defined here
>
>Reported-by: kernel test robot <lkp@intel.com>
>Closes: https://lore.kernel.org/oe-kbuild-all/202511222115.uvHrP95A-lkp@intel.com/
>Fixes: e9f039c08cdc ("clk: microchip: core: convert from round_rate() to determine_rate()")
>Signed-off-by: Chen Changcheng <chenchangcheng@kylinos.cn>
>---
> drivers/clk/microchip/clk-core.c | 1 -
> 1 file changed, 1 deletion(-)
>
>diff --git a/drivers/clk/microchip/clk-core.c b/drivers/clk/microchip/clk-core.c
>index b34348d491f3..20f25d2db05d 100644
>--- a/drivers/clk/microchip/clk-core.c
>+++ b/drivers/clk/microchip/clk-core.c
>@@ -916,7 +916,6 @@ const struct clk_ops pic32_sclk_ops = {
> .set_rate = sclk_set_rate,
> .recalc_rate = sclk_get_rate,
> .init = sclk_init,
>- .determine_rate = __clk_mux_determine_rate,
> };
>
> /* sclk with no slew and no post-divider */
>
>base-commit: cc3ee4ba57b76deefb52aee5f57a46dc07bda9f7
>prerequisite-patch-id: 6cc5a0ec0db4756cb95c5d67a3d27a57288fdaa7
>--
>2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-08 8:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-08 3:26 [PATCH] clk: microchip: core: fix pointer being initialized twice Chen Changcheng
2025-12-08 8:37 ` chenchangcheng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®