From: sashiko-bot@kernel.org
To: "Rosen Penev" <rosenp@gmail.com>
Cc: linux-clk@vger.kernel.org
Subject: Re: [PATCH] clk: davinci: guard da850-specific init data references
Date: Tue, 11 Aug 2026 19:17:33 +0000 [thread overview]
Message-ID: <20260811191733.CF9141F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260811190821.117485-1-rosenp@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] The patch uses a non-existent Kconfig macro `CONFIG_COMMON_CLK_DAVINCI_DA850` to guard DA850-specific clock definitions, which will unconditionally disable them.
--
--- Patch [1]: [PATCH] clk: davinci: guard da850-specific init data references ---
commit 8310fd74805280b1ea31726bf5935e313dcdb916
Author: Rosen Penev <rosenp@gmail.com>
clk: davinci: guard da850-specific init data references
This commit attempts to fix undefined reference link errors in COMPILE_TEST
builds by wrapping DA850-specific clock data and declarations in a new
preprocessor guard.
Closes: https://lore.kernel.org/oe-kbuild-all/202608111912.YS4Vg7Jh-lkp@intel.com/
> diff --git a/drivers/clk/davinci/pll.c b/drivers/clk/davinci/pll.c
> index f73b0ac5d8a08..af95dc27f840d 100644
> --- a/drivers/clk/davinci/pll.c
> +++ b/drivers/clk/davinci/pll.c
> @@ -841,17 +841,23 @@ int of_davinci_pll_init(struct device *dev, struct device_node *node,
> return 0;
> }
>
> +#ifdef CONFIG_COMMON_CLK_DAVINCI_DA850
[Severity: High]
Does the CONFIG_COMMON_CLK_DAVINCI_DA850 Kconfig option actually exist?
It appears this should be checking CONFIG_ARCH_DAVINCI_DA850 instead. As
currently written, this guard evaluates to false unconditionally. Will this
cause DA850 devices to fail to boot because their early clocks and match
tables (in both pll.c and psc.c) are no longer compiled in?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260811190821.117485-1-rosenp@gmail.com?part=1
next prev parent reply other threads:[~2026-08-11 19:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-11 19:08 [PATCH] clk: davinci: guard da850-specific init data references Rosen Penev
2026-08-11 19:17 ` sashiko-bot [this message]
2026-08-11 19:24 ` Rosen Penev
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=20260811191733.CF9141F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=rosenp@gmail.com \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.