./include/linux/kvm_host.h:2567:60: error: 'struct kvm' has no member named 'mem_attrs'
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://github.com/intel-lab-lkp/linux/commits/Paolo-Bonzini/KVM-selftests-Take-into-account-mixed-memory-fault-flags/20260813-123530 head: 83181006a1a420fa5d069d732ab343c59be874ab commit: ae0b806f33b5ff2feb15a636c5b5dde474daeade KVM: Introduce a generation number for memory attributes date: 2 days ago config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260815/[email protected]/config) compiler: aarch64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260815/[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 errors (new ones prefixed by >>): In file included from arch/arm64/kernel/asm-offsets.c:16: ./include/linux/kvm_host.h: In function 'kvm_memslots_check_gen': >> ./include/linux/kvm_host.h:2567:60: error: 'struct kvm' has no member named 'mem_attrs' 2567 | return slots->generation == slots_generation && kvm->mem_attrs.generation == attrs_generation; | ^~ vim +2567 ./include/linux/kvm_host.h 2562 2563 static inline bool kvm_memslots_check_gen(struct kvm *kvm, u64 slots_generation, 2564 u64 attrs_generation, struct kvm_memslots **p_slots) 2565 { 2566 struct kvm_memslots *slots = *p_slots = kvm_memslots(kvm); > 2567 return slots->generation == slots_generation && kvm->mem_attrs.generation == attrs_generation; 2568 } 2569 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki