dw_mipi_dsi-stm.c:(.text+0x8db9a3): undefined reference to `clk_hw_unregister'

From: Borislav Petkov
Date: Thu Sep 05 2024 - 04:21:40 EST


Hi all,

this fires in my randbuilds here:

vmlinux.o: warning: objtool: adis16400_write_raw() falls through to next function adis16400_show_serial_number()
ld: vmlinux.o: in function `dw_mipi_dsi_stm_remove':
dw_mipi_dsi-stm.c:(.text+0x8db9a3): undefined reference to `clk_hw_unregister'
ld: vmlinux.o: in function `dw_mipi_dsi_clk_register':
dw_mipi_dsi-stm.c:(.text+0x8db9f5): undefined reference to `clk_hw_register'
ld: vmlinux.o: in function `lvds_remove':
lvds.c:(.text+0x8dc605): undefined reference to `clk_hw_unregister'
make[2]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1
make[1]: *** [/home/amd/bpetkov/kernel/linux/Makefile:1156: vmlinux] Error 2
make: *** [Makefile:224: __sub-make] Error 2

is there a fix somewhere?

People love to do

depends on ... COMPILE_TEST

but then if no one takes care of it in time:

https://lore.kernel.org/oe-kbuild-all/202407212000.rpDH64jP-lkp@xxxxxxxxx

that COMPILE_TEST thing is forcing me to simply blacklist it and is not really
helping.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette