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