All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ackerley Tng <ackerleytng@google.com>
Cc: oe-kbuild-all@lists.linux.dev, Ira Weiny <ira.weiny@intel.com>,
	Fuad Tabba <tabba@google.com>
Subject: [weiny2:ackerley-1g-master 24/75] arch/powerpc/kvm/../../../virt/kvm/guest_memfd.c:431:30: error: 'GUEST_MEMFD_MAGIC' undeclared
Date: Mon, 19 May 2025 22:32:56 +0800	[thread overview]
Message-ID: <202505192226.USrgNsjs-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-05-19 14:33 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=202505192226.USrgNsjs-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ackerleytng@google.com \
    --cc=ira.weiny@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tabba@google.com \
    /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.