[android-common:android16-6.12-kminext 5/5] mm/vma_readahead_boundary.c:64: warning: expecting prototype for What(). Prototype was for init_vma_readahead_boundary() instead

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-kminext
head:   5922ee2e751845b0716e158317a1dd492c6f7c39
commit: 5922ee2e751845b0716e158317a1dd492c6f7c39 [5/5] ANDROID: add /sys/kernel/mm/vma_readahead_boundary/enabled
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20260821/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
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/vma_readahead_boundary.c:64: warning: expecting prototype for What(). Prototype was for init_vma_readahead_boundary() instead


vim +64 mm/vma_readahead_boundary.c

    52	
    53	/**
    54	 * What:          /sys/kernel/mm/vma_readahead_boundary/enabled
    55	 * Date:          April 2026
    56	 * KernelVersion: v6.12+ (GKI kernels)
    57	 * Contact:       Frederick Mayle <[email protected]>
    58	 * Description:   /sys/kernel/mm/vma_readahead_boundary/enabled
    59	 *		  controls whether readahead triggered by mmap accesses will be
    60	 *		  limited to the bounds of the accessed VMA.
    61	 * Users:         n/a
    62	 */
    63	static int __init init_vma_readahead_boundary(void)
  > 64	{

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