[agraf-2.6:snp-host-v10 64/108] arch/x86/virt/svm/sev.c:280:5: warning: no previous prototype for 'snp_lookup_rmpentry'

kernel test robot <[email protected]> Thu, 9 Nov 2023 19:56:09 +0800
Newsgroups org.kernel.vger.kvm-ppc,dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://github.com/agraf/linux-2.6.git snp-host-v10
head:   689d7ab69df8f6bff29bd1dbefe7c07bba52a9ac
commit: 0551830477200b8f4dbfe6cd1294f19b488c47f4 [64/108] x86/sev: Add RMP entry lookup helpers
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231109/[email protected]/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231109/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> arch/x86/virt/svm/sev.c:280:5: warning: no previous prototype for 'snp_lookup_rmpentry' [-Wmissing-prototypes]
     280 | int snp_lookup_rmpentry(u64 pfn, bool *assigned, int *level)
         |     ^~~~~~~~~~~~~~~~~~~


vim +/snp_lookup_rmpentry +280 arch/x86/virt/svm/sev.c

   279	
 > 280	int snp_lookup_rmpentry(u64 pfn, bool *assigned, int *level)

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki