From: kernel test robot <lkp@intel.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [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'?
Date: Sat, 6 Apr 2024 08:08:05 +0800 [thread overview]
Message-ID: <202404060740.RLbOVHYz-lkp@intel.com> (raw)
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
reply other threads:[~2024-04-06 0:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202404060740.RLbOVHYz-lkp@intel.com \
--to=lkp@intel.com \
--cc=axboe@kernel.dk \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.