* [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'
@ 2026-02-16 19:24 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-02-16 19:24 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-02-16 19:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-16 19:24 [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' 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.