* [openeuler:OLK-6.6 1897/1897] mm/madvise.c:297:6: warning: no previous prototype for 'force_swapin_vma'
@ 2025-02-07 5:29 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-07 5:29 UTC (permalink / raw)
To: kernel, Jinjiang Tu; +Cc: oe-kbuild-all
Hi Liu,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: fdc8c83a12a8fc4b7c55971d552758ffe2f34c14
commit: 92a0eb9bde6c03412b39f9f3d20968c091ea3b46 [1897/1897] memcg: introduce per-memcg swapin interface
config: x86_64-alldefconfig (https://download.01.org/0day-ci/archive/20250207/202502071345.oFOjxkvF-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250207/202502071345.oFOjxkvF-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/202502071345.oFOjxkvF-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/madvise.c:297:6: warning: no previous prototype for 'force_swapin_vma' [-Wmissing-prototypes]
297 | void force_swapin_vma(struct vm_area_struct *vma)
| ^~~~~~~~~~~~~~~~
vim +/force_swapin_vma +297 mm/madvise.c
280
281 #ifdef CONFIG_MEMCG_SWAP_QOS
282 void force_swapin_vma(struct vm_area_struct *vma)
283 {
284 struct file *file = vma->vm_file;
285
286 if (!can_madv_lru_vma(vma))
287 return;
288
289 if (!file) {
290 walk_page_vma(vma, &swapin_walk_ops, vma);
291 lru_add_drain();
292 } else if (shmem_mapping(file->f_mapping))
293 shmem_swapin_range(vma, vma->vm_start,
294 vma->vm_end, file->f_mapping);
295 }
296 #else
> 297 void force_swapin_vma(struct vm_area_struct *vma)
298 {
299 }
300 #endif
301
--
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-02-07 5:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-07 5:29 [openeuler:OLK-6.6 1897/1897] mm/madvise.c:297:6: warning: no previous prototype for 'force_swapin_vma' 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.