Re: linux-next: Tree for Sep 1 [sound/soc/mediatek/mt8195/snd-soc-mt8195-afe.ko]

From: Geert Uytterhoeven
Date: Thu Sep 02 2021 - 04:22:55 EST


Hi Trevor,

On Thu, Sep 2, 2021 at 4:37 AM Trevor Wu <trevor.wu@xxxxxxxxxxxx> wrote:
> On Wed, 2021-09-01 at 13:55 -0700, Randy Dunlap wrote:
> > On 9/1/21 1:17 AM, Stephen Rothwell wrote:
> > > Please do not add any v5.16 related code to your linux-next
> > > included
> > > branches until after v5.15-rc1 has been released.
> > >
> > > Changes since 20210831:
> > >
> >
> >
> > on x86_64:
> >
> > ERROR: modpost: "clkdev_add" [sound/soc/mediatek/mt8195/snd-soc-
> > mt8195-afe.ko] undefined!
> > ERROR: modpost: "clkdev_drop" [sound/soc/mediatek/mt8195/snd-soc-
> > mt8195-afe.ko] undefined!
> > ERROR: modpost: "clk_unregister_gate" [sound/soc/mediatek/mt8195/snd-
> > soc-mt8195-afe.ko] undefined!
> > ERROR: modpost: "clk_register_gate" [sound/soc/mediatek/mt8195/snd-
> > soc-mt8195-afe.ko] undefined!
> >
> > Full randconfig file is attached.
> >
>
> Hi Randy,
>
> The problem is caused by the dependency declaration, because it's not a
> driver for x86_64.
> The dependency declaration has been added in the following patch.
>
> https://patchwork.kernel.org/project/alsa-devel/patch/7e628e359bde04ceb9ddd74a45931059b4a4623c.1630415860.git.geert+renesas@xxxxxxxxx/

That is not sufficient, if COMPILE_TEST is enabled.

Looks like it needs a dependency on COMMON_CLK, too.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds