* [weiny2:ackerley-1g-master 24/75] arch/powerpc/kvm/../../../virt/kvm/guest_memfd.c:431:30: error: 'GUEST_MEMFD_MAGIC' undeclared
@ 2025-05-19 14:32 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-19 14:32 UTC (permalink / raw)
To: Ackerley Tng; +Cc: oe-kbuild-all, Ira Weiny, Fuad Tabba
tree: https://github.com/weiny2/linux-kernel.git ackerley-1g-master
head: 773f26b5bef6e4d3094a33605165a5c6ab9aa0f0
commit: 907fd36df148056d5eaa45850e722970a33fc7ec [24/75] KVM: guest_memfd: Make guest mem use guest mem inodes instead of anonymous inodes
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20250519/202505192226.USrgNsjs-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250519/202505192226.USrgNsjs-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/202505192226.USrgNsjs-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/powerpc/kvm/../../../virt/kvm/guest_memfd.c: In function 'kvm_gmem_init_fs_context':
>> arch/powerpc/kvm/../../../virt/kvm/guest_memfd.c:431:30: error: 'GUEST_MEMFD_MAGIC' undeclared (first use in this function)
431 | if (!init_pseudo(fc, GUEST_MEMFD_MAGIC))
| ^~~~~~~~~~~~~~~~~
arch/powerpc/kvm/../../../virt/kvm/guest_memfd.c:431:30: note: each undeclared identifier is reported only once for each function it appears in
arch/powerpc/kvm/../../../virt/kvm/guest_memfd.c: In function 'kvm_gmem_create':
arch/powerpc/kvm/../../../virt/kvm/guest_memfd.c:654:13: error: implicit declaration of function 'kvm_arch_vm_supports_gmem_shared_mem' [-Wimplicit-function-declaration]
654 | if (kvm_arch_vm_supports_gmem_shared_mem(kvm))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/GUEST_MEMFD_MAGIC +431 arch/powerpc/kvm/../../../virt/kvm/guest_memfd.c
426
427 static int kvm_gmem_init_fs_context(struct fs_context *fc)
428 {
429 struct pseudo_fs_context *ctx;
430
> 431 if (!init_pseudo(fc, GUEST_MEMFD_MAGIC))
432 return -ENOMEM;
433
434 ctx = fc->fs_private;
435 ctx->ops = &kvm_gmem_super_operations;
436
437 return 0;
438 }
439
--
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:[~2025-05-19 14:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-19 14:32 [weiny2:ackerley-1g-master 24/75] arch/powerpc/kvm/../../../virt/kvm/guest_memfd.c:431:30: error: 'GUEST_MEMFD_MAGIC' undeclared 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.