reproduce: # apt-get install sparse # sparse version: v0.6.4-52-g1cf3d98c-dirty # https://github.com/intel-lab-lkp/linux/commit/307fed7e164319e3b798cd78cd9b36f0ff08d056 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Yunjian-Wang/xsk-Remove-non-zero-dma_page-check-in-xp_assign_dev/20240124-174011 git checkout 307fed7e164319e3b798cd78cd9b36f0ff08d056 # 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=i386 olddefconfig make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/net/