Re: [PATCH] clk: davinci: guard da850-specific init data references

Rosen Penev <[email protected]>
Newsgroups org.kernel.vger.linux-clk,org.kernel.vger.linux-kernel
Message-ID <CAKxU2N-BzB2=ty67YEVHyx_BK_LVt84HWn2nQrGBZ8McG9dVsA@mail.gmail.com>
On Wed, Aug 12, 2026 at 7:06 AM David Lechner <[email protected]> wrote:
>
> On 8/11/26 2:08 PM, Rosen Penev wrote:
> > With COMPILE_TEST support, COMMON_CLK_DAVINCI can be enabled on
> > architectures without DaVinci support, where COMMON_CLK_DAVINCI_DA850
> > is not set. pll.c and psc.c unconditionally reference da850 init
> > functions and init data that are only built with the DA850 option,
> > resulting in undefined reference link errors.
> >
> > Guard the da850 entries in the match tables and the CLK_OF_DECLARE
> > with CONFIG_COMMON_CLK_DAVINCI_DA850.
> >
> > Reported-by: kernel test robot <[email protected]>
> > Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
> > Fixes: 34aeb6853fe2 ("clk: davinci: add COMPILE_TEST support")
> I don't think this patch was ever accepted, so you just need to send
> a v3 of that patch. Plus I left a comment on v2 that was never
> addressed.
Hrm I thought the kernel test bot operated on merged commits. Interesting...
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.