reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/commit/?id=24fae1df029804f4339484870fcdc70fe15fab97 git remote add arnd-playground https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git git fetch --no-tags arnd-playground config-gpio-legacy-7.2 git checkout 24fae1df029804f4339484870fcdc70fe15fab97 # install loongarch cross compiling tool for clang build # apt-get install binutils-loongarch-linux-gnu git clone https://github.com/intel/lkp-tests.git ~/lkp-tests # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-20 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=loongarch olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-20 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash arch/loongarch/kernel/ drivers/gpio/