reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/song/linux.git/commit/?id=85c87cab4c9c2ffa4a9d2b00525a75576f50c550 git remote add song https://git.kernel.org/pub/scm/linux/kernel/git/song/linux.git git fetch --no-tags song fanotify-bpf git checkout 85c87cab4c9c2ffa4a9d2b00525a75576f50c550 git clone https://github.com/intel/lkp-tests.git ~/lkp-tests # apt-get install sparse # sparse: v0.6.5-rc1 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.5.0 ~/lkp-tests/kbuild/make.cross W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build_dir ARCH=nios2 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.5.0 ~/lkp-tests/kbuild/make.cross W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build_dir ARCH=nios2 SHELL=/bin/bash fs/notify/fanotify/