reproduce (this is a W=1 build): # https://github.com/intel/linux-intel-lts/commit/d1a4a0a2fedfc816e1f7db99c4858dfc0b8fd300 git remote add intel-lts https://github.com/intel/linux-intel-lts.git git fetch --no-tags intel-lts 6.18/linux git checkout d1a4a0a2fedfc816e1f7db99c4858dfc0b8fd300 # 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=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/media/platform/intel/