reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/commit/?id=7eb55aeea773a5827b4c6ab06f77beed71254e44 git remote add leon-rdma https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git git fetch --no-tags leon-rdma dma-static-calls-v3 git checkout 7eb55aeea773a5827b4c6ab06f77beed71254e44 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 olddefconfig make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash kernel/dma/