Re: linux-next: build failure after merge of the thermal tree

From: Ronald Claveau

Date: Wed May 27 2026 - 16:05:07 EST


On 5/27/26 2:56 PM, Mark Brown wrote:
> Hi all,
>
> After merging the thermal tree, today's linux-next build (arm_multi_v7
> defconfig) failed like this:
>
> arm-linux-gnueabihf-ld: drivers/thermal/amlogic_thermal.o: in function `amlogic_thermal_probe_sm':
> /tmp/next/build/drivers/thermal/amlogic_thermal.c:196:(.text+0x2f4): undefined reference to `meson_sm_get'
> arm-linux-gnueabihf-ld: /tmp/next/build/drivers/thermal/amlogic_thermal.c:205:(.text+0x320): undefined reference to `meson_sm_get_thermal_calib'
>
> Caused by commit
>
> b21d88de69184 (thermal/drivers/amlogic: Add support for secure monitor calibration readout)
>
> I have used the tree from next-20260526 instead.

Hi Mark,

Sorry for the noise on this one.
I can reproduce it on this commit, it seems it would need to add a
`#ifdef CONFIG_MESON_SM` and a else stub for those references.

What is the path to solve this issue ?

--
Best regards,
Ronald