reproduce (this is a W=1 build): # https://github.com/koverstreet/bcachefs/commit/78e53242d57830619d4964261dda9934f4d18c47 git remote add koverstreet-bcachefs https://github.com/koverstreet/bcachefs git fetch --no-tags koverstreet-bcachefs bcachefs-rebalance_v2 git checkout 78e53242d57830619d4964261dda9934f4d18c47 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=sh 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=sh SHELL=/bin/bash fs/bcachefs/