* [sean-jc:x86/mmu_follow_pfn 13/28] arch/riscv/kvm/../../../virt/kvm/kvm_main.c:2987:13: error: use of undeclared identifier 'atomic'
@ 2024-06-22 11:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-22 11:48 UTC (permalink / raw)
To: Sean Christopherson; +Cc: llvm, oe-kbuild-all, David Stevens, Maxim Levitsky
tree: https://github.com/sean-jc/linux x86/mmu_follow_pfn
head: 57ff012a34bc3bfac1ebb0724078e8fe47fdb60a
commit: 2e1ef556dc18d78c75fc1ddc11cb770a3de6eb61 [13/28] KVM: mmu: Introduce kvm_follow_pfn()
config: riscv-defconfig (https://download.01.org/0day-ci/archive/20240622/202406221947.gE0KLyPt-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project ad79a14c9e5ec4a369eed4adf567c22cc029863f)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240622/202406221947.gE0KLyPt-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/202406221947.gE0KLyPt-lkp@intel.com/
Note: the sean-jc/x86/mmu_follow_pfn HEAD 57ff012a34bc3bfac1ebb0724078e8fe47fdb60a builds fine.
It only hurts bisectability.
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:2253:
include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> arch/riscv/kvm/../../../virt/kvm/kvm_main.c:2987:13: error: use of undeclared identifier 'atomic'
2987 | .atomic = atomic,
| ^
1 warning and 1 error generated.
vim +/atomic +2987 arch/riscv/kvm/../../../virt/kvm/kvm_main.c
2979
2980 kvm_pfn_t __gfn_to_pfn_memslot(const struct kvm_memory_slot *slot, gfn_t gfn,
2981 bool interruptible, bool no_wait,
2982 bool write_fault, bool *writable)
2983 {
2984 struct kvm_follow_pfn kfp = {
2985 .slot = slot,
2986 .gfn = gfn,
> 2987 .atomic = atomic,
2988 .map_writable = writable,
2989 };
2990
2991 if (write_fault)
2992 kfp.flags |= FOLL_WRITE;
2993 if (no_wait)
2994 kfp.flags |= FOLL_NOWAIT;
2995 if (interruptible)
2996 kfp.flags |= FOLL_INTERRUPTIBLE;
2997
2998 return kvm_follow_pfn(&kfp);
2999 }
3000 EXPORT_SYMBOL_GPL(__gfn_to_pfn_memslot);
3001
--
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-06-22 11:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-22 11:48 [sean-jc:x86/mmu_follow_pfn 13/28] arch/riscv/kvm/../../../virt/kvm/kvm_main.c:2987:13: error: use of undeclared identifier 'atomic' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox