All of lore.kernel.org
 help / color / mirror / Atom feed
* [axboe-block:rw_iter 69/93] arch/riscv/kvm/../../../virt/kvm/kvm_main.c:5079:15: error: use of undeclared identifier 'kvm_vm_stats_read_iter'; did you mean 'kvm_vcpu_stats_read_iter'?
@ 2024-04-06  0:08 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-06  0:08 UTC (permalink / raw)
  To: Jens Axboe; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git rw_iter
head:   222e1965f038cbce873a9392d6b9e0df82837498
commit: ef0f2e8cc6f036e45cface7a6e208ffcf4de2fbf [69/93] virt: convert to ->read_iter and ->write_iter
config: riscv-defconfig (https://download.01.org/0day-ci/archive/20240406/202404060740.RLbOVHYz-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 546dc2245ffc4cccd0b05b58b7a5955e355a3b27)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240406/202404060740.RLbOVHYz-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404060740.RLbOVHYz-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/riscv/kvm/../../../virt/kvm/kvm_main.c:18:
   In file included from include/linux/kvm_host.h:7:
   In file included from include/linux/hardirq.h:11:
   In file included from ./arch/riscv/include/generated/asm/hardirq.h:1:
   In file included from include/asm-generic/hardirq.h:17:
   In file included from include/linux/irq.h:23:
   In file included from arch/riscv/include/asm/irq.h:10:
   In file included from include/linux/interrupt.h:21:
   In file included from arch/riscv/include/asm/sections.h:9:
   In file included from include/linux/mm.h:2208:
   include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
     522 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
>> arch/riscv/kvm/../../../virt/kvm/kvm_main.c:5079:15: error: use of undeclared identifier 'kvm_vm_stats_read_iter'; did you mean 'kvm_vcpu_stats_read_iter'?
    5079 |         .read_iter = kvm_vm_stats_read_iter,
         |                      ^~~~~~~~~~~~~~~~~~~~~~
         |                      kvm_vcpu_stats_read_iter
   arch/riscv/kvm/../../../virt/kvm/kvm_main.c:4376:1: note: 'kvm_vcpu_stats_read_iter' declared here
    4376 | FOPS_READ_ITER_HELPER(kvm_vcpu_stats_read);
         | ^
   include/linux/fs.h:2148:16: note: expanded from macro 'FOPS_READ_ITER_HELPER'
    2148 | static ssize_t name## _iter(struct kiocb *iocb, struct iov_iter *to)    \
         |                ^
   <scratch space>:98:1: note: expanded from here
      98 | kvm_vcpu_stats_read_iter
         | ^
   1 warning and 1 error generated.


vim +5079 arch/riscv/kvm/../../../virt/kvm/kvm_main.c

  5076	
  5077	static const struct file_operations kvm_vm_stats_fops = {
  5078		.owner = THIS_MODULE,
> 5079		.read_iter = kvm_vm_stats_read_iter,
  5080		.release = kvm_vm_stats_release,
  5081		.llseek = noop_llseek,
  5082	};
  5083	

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

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

only message in thread, other threads:[~2024-04-06  0:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-06  0:08 [axboe-block:rw_iter 69/93] arch/riscv/kvm/../../../virt/kvm/kvm_main.c:5079:15: error: use of undeclared identifier 'kvm_vm_stats_read_iter'; did you mean 'kvm_vcpu_stats_read_iter'? 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.