reproduce: git clone https://github.com/intel/lkp-tests.git ~/lkp-tests # apt-get install sparse # sparse version: v0.6.4-52-g1cf3d98c-dirty # https://github.com/jgunthorpe/linux/commit/292695cd6323ee6a41dd51c84b03f6fcadac91ea git remote add jgunthorpe https://github.com/jgunthorpe/linux git fetch --no-tags jgunthorpe mlx5_wc git checkout 292695cd6323ee6a41dd51c84b03f6fcadac91ea # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-13.2.0 ~/lkp-tests/kbuild/make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build_dir ARCH=arm64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-13.2.0 ~/lkp-tests/kbuild/make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/