2021-09-17 07:23:14

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the clk-imx tree

Hi all,

After merging the clk-imx tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: modpost: "imx_clk_hw_pfdv2" [drivers/clk/imx/clk-imx8ulp.ko] undefined!
ERROR: modpost: "imx_clk_hw_pllv4" [drivers/clk/imx/clk-imx8ulp.ko] undefined!
ERROR: modpost: "imx8ulp_clk_hw_composite" [drivers/clk/imx/clk-imx8ulp.ko] undefined!

Caused by commit

86ce2d393ff7 ("clk: imx: Add clock driver for imx8ulp")

I have used the clk-imx tree from next-20210916 fot today.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2021-09-17 10:51:00

by Jacky Bai

[permalink] [raw]
Subject: RE: linux-next: build failure after merge of the clk-imx tree

> Subject: linux-next: build failure after merge of the clk-imx tree
>
> Hi all,
>
> After merging the clk-imx tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> ERROR: modpost: "imx_clk_hw_pfdv2" [drivers/clk/imx/clk-imx8ulp.ko]
> undefined!
> ERROR: modpost: "imx_clk_hw_pllv4" [drivers/clk/imx/clk-imx8ulp.ko]
> undefined!
> ERROR: modpost: "imx8ulp_clk_hw_composite" [drivers/clk/imx/clk-imx8ulp.ko]
> undefined!
>

should because that these three functions are not export symbol when driver build as module.
I will generate a patch to fix it.

Thx for reporting this issue.

BR
Jacky Bai

> Caused by commit
>
> 86ce2d393ff7 ("clk: imx: Add clock driver for imx8ulp")
>
> I have used the clk-imx tree from next-20210916 fot today.
>
> --
> Cheers,
> Stephen Rothwell

2021-09-17 13:16:44

by Abel Vesa

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the clk-imx tree

On 21-09-17 09:06:18, Stephen Rothwell wrote:
> Hi all,
>
> After merging the clk-imx tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> ERROR: modpost: "imx_clk_hw_pfdv2" [drivers/clk/imx/clk-imx8ulp.ko] undefined!
> ERROR: modpost: "imx_clk_hw_pllv4" [drivers/clk/imx/clk-imx8ulp.ko] undefined!
> ERROR: modpost: "imx8ulp_clk_hw_composite" [drivers/clk/imx/clk-imx8ulp.ko] undefined!
>
> Caused by commit
>
> 86ce2d393ff7 ("clk: imx: Add clock driver for imx8ulp")
>
> I have used the clk-imx tree from next-20210916 fot today.
>

Sorry about that. It has been fixed now.

> --
> Cheers,
> Stephen Rothwell