From: Chen Changcheng <chenchangcheng@kylinos.cn>
To: mturquette@baylibre.com, sboyd@kernel.org
Cc: bmasney@redhat.com, bhelgaas@google.com,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
Chen Changcheng <chenchangcheng@kylinos.cn>,
kernel test robot <lkp@intel.com>
Subject: [PATCH] clk: microchip: core: fix pointer being initialized twice.
Date: Mon, 8 Dec 2025 11:26:44 +0800 [thread overview]
Message-ID: <20251208032644.25620-1-chenchangcheng@kylinos.cn> (raw)
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
next reply other threads:[~2025-12-08 3:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-08 3:26 Chen Changcheng [this message]
2025-12-08 8:37 ` chenchangcheng
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=20251208032644.25620-1-chenchangcheng@kylinos.cn \
--to=chenchangcheng@kylinos.cn \
--cc=bhelgaas@google.com \
--cc=bmasney@redhat.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=mturquette@baylibre.com \
--cc=sboyd@kernel.org \
/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 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®