Hi Ben, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on kvm/queue] [also build test WARNING on tip/master linus/master next-20210506] [cannot apply to linux/master v5.12] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Ben-Gardon/Lazily-allocate-memslot-rmaps/20210507-024533 base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue config: x86_64-randconfig-s021-20210506 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-341-g8af24329-dirty # https://github.com/0day-ci/linux/commit/c7c4f34907c708172e52fb04dc753a917a5eebb6 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Ben-Gardon/Lazily-allocate-memslot-rmaps/20210507-024533 git checkout c7c4f34907c708172e52fb04dc753a917a5eebb6 # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) arch/x86/kvm/mmu/mmu.c: note: in included file (through include/linux/kvm_host.h, arch/x86/kvm/irq.h): >> arch/x86/include/asm/kvm_host.h:1871:36: sparse: sparse: marked inline, but without a definition >> arch/x86/include/asm/kvm_host.h:1871:36: sparse: sparse: marked inline, but without a definition >> arch/x86/include/asm/kvm_host.h:1871:36: sparse: sparse: marked inline, but without a definition >> arch/x86/include/asm/kvm_host.h:1871:36: sparse: sparse: marked inline, but without a definition >> arch/x86/include/asm/kvm_host.h:1871:36: sparse: sparse: marked inline, but without a definition >> arch/x86/include/asm/kvm_host.h:1871:36: sparse: sparse: marked inline, but without a definition >> arch/x86/include/asm/kvm_host.h:1871:36: sparse: sparse: marked inline, but without a definition >> arch/x86/include/asm/kvm_host.h:1871:36: sparse: sparse: marked inline, but without a definition >> arch/x86/include/asm/kvm_host.h:1871:36: sparse: sparse: marked inline, but without a definition >> arch/x86/include/asm/kvm_host.h:1871:36: sparse: sparse: marked inline, but without a definition >> arch/x86/include/asm/kvm_host.h:1871:36: sparse: sparse: marked inline, but without a definition >> arch/x86/include/asm/kvm_host.h:1871:36: sparse: sparse: marked inline, but without a definition >> arch/x86/include/asm/kvm_host.h:1871:36: sparse: sparse: marked inline, but without a definition vim +1871 arch/x86/include/asm/kvm_host.h fb04a1eddb1a65 Peter Xu 2020-09-30 1870 fac0d516d29b67 Ben Gardon 2021-05-06 @1871 inline bool kvm_memslots_have_rmaps(struct kvm *kvm); fac0d516d29b67 Ben Gardon 2021-05-06 1872 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org