[android-common:android16-6.12 2/2] mm/filemap.c:67:6: warning: no previous prototype for '_trace_android_vh_unlock_mmap_bypass'

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://android.googlesource.com/kernel/common android16-6.12
head:   3ab5872299d5e82b56421f050aee906aa69bce34
commit: 38a6fa97bf2e5dc01ab158ebd3a048bb628103b7 [2/2] ANDROID: mm: add vendor hook to bypass mmap_lock release in page fault
config: arm-randconfig-001-20260822 (https://download.01.org/0day-ci/archive/20260822/[email protected]/config)
compiler: arm-linux-gnueabi-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260822/[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 >>):

>> mm/filemap.c:67:6: warning: no previous prototype for '_trace_android_vh_unlock_mmap_bypass' [-Wmissing-prototypes]
      67 | void _trace_android_vh_unlock_mmap_bypass(struct vm_fault *vmf,
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/_trace_android_vh_unlock_mmap_bypass +67 mm/filemap.c

    61	
    62	/*
    63	 * trace_android_vh_unlock_mmap_bypass is called in mm/internal.h
    64	 * by including trace/hooks/mm.h directly, which will result in build-err.
    65	 * So we create func: _trace_android_vh_unlock_mmap_bypass.
    66	 */
  > 67	void _trace_android_vh_unlock_mmap_bypass(struct vm_fault *vmf,
    68			struct file *fpin, bool *bypass)
    69	{
    70		trace_android_vh_unlock_mmap_bypass(vmf, fpin, bypass);
    71	}
    72	

--
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.