reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git/commit/?id=a2e0dd64061bc41ef377813e9a1626e8b1fa54c7 git remote add wsa https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git git fetch --no-tags wsa renesas/hwspinlock/refactor-alloc-buildtest git checkout a2e0dd64061bc41ef377813e9a1626e8b1fa54c7 git clone https://github.com/intel/lkp-tests.git ~/lkp-tests # apt-get install sparse # sparse: v0.6.5-rc1 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.5.0 ~/lkp-tests/kbuild/make.cross W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build_dir ARCH=microblaze olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.5.0 ~/lkp-tests/kbuild/make.cross W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build_dir ARCH=microblaze SHELL=/bin/bash drivers/hwspinlock/