All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android16-6.12-desktop 51/51] arch/arm64/kvm/hyp/nvhe/modules.c:276:5: warning: no previous prototype for function 'module_map_module_page'
Date: Tue, 17 Feb 2026 03:24:59 +0800	[thread overview]
Message-ID: <202602170342.c2wmMPt4-lkp@intel.com> (raw)

Hi Vincent,

FYI, the error/warning still remains.

tree:   https://android.googlesource.com/kernel/common android16-6.12-desktop
head:   41a7c40493aca929fa8889c998fd18a2f0be18e1
commit: db8bad4a59d2609e1ec4c6da947554ab51901f4a [51/51] ANDROID: KVM: arm64: Expose unmap_module_page to modules
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20260217/202602170342.c2wmMPt4-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260217/202602170342.c2wmMPt4-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/202602170342.c2wmMPt4-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/arm64/kvm/hyp/nvhe/modules.c:276:5: warning: no previous prototype for function 'module_map_module_page' [-Wmissing-prototypes]
     276 | int module_map_module_page(u64 pfn, void *va, enum kvm_pgtable_prot prot,
         |     ^
   arch/arm64/kvm/hyp/nvhe/modules.c:276:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     276 | int module_map_module_page(u64 pfn, void *va, enum kvm_pgtable_prot prot,
         | ^
         | static 
>> arch/arm64/kvm/hyp/nvhe/modules.c:282:5: warning: no previous prototype for function 'module_map_module_pages' [-Wmissing-prototypes]
     282 | int module_map_module_pages(u64 pfn, void *va, u64 nr_pages, enum kvm_pgtable_prot prot,
         |     ^
   arch/arm64/kvm/hyp/nvhe/modules.c:282:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     282 | int module_map_module_pages(u64 pfn, void *va, u64 nr_pages, enum kvm_pgtable_prot prot,
         | ^
         | static 
>> arch/arm64/kvm/hyp/nvhe/modules.c:288:5: warning: no previous prototype for function 'module_unmap_module_pages' [-Wmissing-prototypes]
     288 | int module_unmap_module_pages(u64 pfn, void *va, u64 nr_pages)
         |     ^
   arch/arm64/kvm/hyp/nvhe/modules.c:288:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     288 | int module_unmap_module_pages(u64 pfn, void *va, u64 nr_pages)
         | ^
         | static 
   3 warnings generated.

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for INTEL_MEI_ME
   Depends on [n]: X86 && PCI [=y]
   Selected by [m]:
   - INTEL_MEI_HDCP [=m] && (DRM_I915 [=n] || DRM_XE [=m])
   - INTEL_MEI_PXP [=m] && (DRM_I915 [=n] || DRM_XE [=m])


vim +/module_map_module_page +276 arch/arm64/kvm/hyp/nvhe/modules.c

   275	
 > 276	int module_map_module_page(u64 pfn, void *va, enum kvm_pgtable_prot prot,
   277				   bool is_protected)
   278	{
   279		return __pkvm_map_module_pages(pfn, va, 1, prot, is_protected);
   280	}
   281	
 > 282	int module_map_module_pages(u64 pfn, void *va, u64 nr_pages, enum kvm_pgtable_prot prot,
   283				   bool is_protected)
   284	{
   285		return __pkvm_map_module_pages(pfn, va, nr_pages, prot, is_protected);
   286	}
   287	
 > 288	int module_unmap_module_pages(u64 pfn, void *va, u64 nr_pages)
   289	{
   290		return __pkvm_unmap_module_pages(pfn, va, nr_pages);
   291	}
   292	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-02-16 19:25 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=202602170342.c2wmMPt4-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --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.