reproduce (this is a W=1 build): # https://github.com/projectacrn/acrn-kernel/commit/f8aee7a312dbbc04e1f182a7a43bd55dfb092292 git remote add acrn https://github.com/projectacrn/acrn-kernel git fetch --no-tags acrn 6.17/linux git checkout f8aee7a312dbbc04e1f182a7a43bd55dfb092292 # apt-get install sparse # sparse: v0.6.5-rc1 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build_dir ARCH=x86_64 olddefconfig make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/virt/acrn/