All of lore.kernel.org
 help / color / mirror / Atom feed
* [atishp04:rocket_kvm_working 10/26] arch/riscv/kvm/mmu.c:29:5: warning: no previous prototype for 'kvm_arch_create_memslot'
@ 2021-02-02 14:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-02 14:19 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2521 bytes --]

tree:   https://github.com/atishp04/linux rocket_kvm_working
head:   854618bbf71bfc11379c39bb0e4ac4784787c473
commit: 9a61ade10a228567063032a6dcfc8b4b61e31476 [10/26] RISC-V: Add initial skeletal KVM support
config: riscv-rv32_defconfig (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/atishp04/linux/commit/9a61ade10a228567063032a6dcfc8b4b61e31476
        git remote add atishp04 https://github.com/atishp04/linux
        git fetch --no-tags atishp04 rocket_kvm_working
        git checkout 9a61ade10a228567063032a6dcfc8b4b61e31476
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/riscv/kvm/mmu.c:29:5: warning: no previous prototype for 'kvm_arch_create_memslot' [-Wmissing-prototypes]
      29 | int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
         |     ^~~~~~~~~~~~~~~~~~~~~~~
--
>> arch/riscv/kvm/vcpu.c:49:5: warning: no previous prototype for 'kvm_arch_vcpu_setup' [-Wmissing-prototypes]
      49 | int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu)
         |     ^~~~~~~~~~~~~~~~~~~
   arch/riscv/kvm/vcpu.c:58:5: warning: no previous prototype for 'kvm_arch_vcpu_init' [-Wmissing-prototypes]
      58 | int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu)
         |     ^~~~~~~~~~~~~~~~~~
>> arch/riscv/kvm/vcpu.c:101:6: warning: no previous prototype for 'kvm_arch_has_vcpu_debugfs' [-Wmissing-prototypes]
     101 | bool kvm_arch_has_vcpu_debugfs(void)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/riscv/kvm/vcpu.c:106:5: warning: no previous prototype for 'kvm_arch_create_vcpu_debugfs' [-Wmissing-prototypes]
     106 | int kvm_arch_create_vcpu_debugfs(struct kvm_vcpu *vcpu)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/kvm_arch_create_memslot +29 arch/riscv/kvm/mmu.c

    28	
  > 29	int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
    30				    unsigned long npages)
    31	{
    32		return 0;
    33	}
    34	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 20824 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-02 14:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 14:19 [atishp04:rocket_kvm_working 10/26] arch/riscv/kvm/mmu.c:29:5: warning: no previous prototype for 'kvm_arch_create_memslot' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.