reproduce (this is a W=1 build): git clone https://github.com/intel/lkp-tests.git ~/lkp-tests # https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id=db8666152df8b016530452714b0ad8c7f1b37f3c git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git git fetch --no-tags rafael-pm bleeding-edge git checkout db8666152df8b016530452714b0ad8c7f1b37f3c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-18 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=i386 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-18 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/thermal/