[android-common:android17-6.18 6/6] mm/filemap.c:70:6: warning: no previous prototype for function '_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 android17-6.18 head: 3e682e795cc26730ba615ad4e43667507583ad84 commit: 1b9b045a586245cc1c29b2747c6586234c7f5bad [6/6] ANDROID: mm: add vendor hook to bypass mmap_lock release in page fault config: arm-randconfig-r073-20260821 (https://download.01.org/0day-ci/archive/20260821/[email protected]/config) compiler: clang version 21.1.8 (https://github.com/llvm/llvm-project 2078da43e25a4623cab2d0d60decddf709aaea28) smatch: v0.5.0-9187-g5189e3fb reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260821/[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:70:6: warning: no previous prototype for function '_trace_android_vh_unlock_mmap_bypass' [-Wmissing-prototypes] 70 | void _trace_android_vh_unlock_mmap_bypass(struct vm_fault *vmf, | ^ mm/filemap.c:70:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 70 | void _trace_android_vh_unlock_mmap_bypass(struct vm_fault *vmf, | ^ | static 1 warning generated. vim +/_trace_android_vh_unlock_mmap_bypass +70 mm/filemap.c 64 65 /* 66 * trace_android_vh_unlock_mmap_bypass is called in mm/internal.h 67 * by including trace/hooks/mm.h directly, which will result in build-err. 68 * So we create func: _trace_android_vh_unlock_mmap_bypass. 69 */ > 70 void _trace_android_vh_unlock_mmap_bypass(struct vm_fault *vmf, 71 struct file *fpin, bool *bypass) 72 { 73 trace_android_vh_unlock_mmap_bypass(vmf, fpin, bypass); 74 } 75 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki