arch/arm64/kernel/vdso.c:89:12: warning: 'vdso32_mremap' defined but not used

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://github.com/intel-lab-lkp/linux/commits/Andr-Almeida/arm64-vdso-Prepare-for-robust-futex-unlock-support/20260717-225213
head:   220f1df8b1f91a406405ba5aaee5b6001c94e1b5
commit: 41604186975072d3862522d1e43898584531ee98 arm64: vdso: Prepare for robust futex unlock support
date:   8 hours ago
config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260718/[email protected]/config)
compiler: aarch64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260718/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> arch/arm64/kernel/vdso.c:89:12: warning: 'vdso32_mremap' defined but not used [-Wunused-function]
      89 | static int vdso32_mremap(const struct vm_special_mapping *sm,
         |            ^~~~~~~~~~~~~


vim +/vdso32_mremap +89 arch/arm64/kernel/vdso.c

    88	
  > 89	static int vdso32_mremap(const struct vm_special_mapping *sm,
    90			struct vm_area_struct *new_vma)
    91	{
    92		current->mm->context.vdso = (void *)new_vma->vm_start;
    93	
    94		vdso_futex_robust_unlock_update_ips(VDSO_ABI_AA32, current->mm);
    95	
    96		return 0;
    97	}
    98	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.