All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android16-6.12 5/5] fs/f2fs/file.c:41:12: warning: no previous prototype for 'f2fs_filemap_fault'
@ 2025-12-21 21:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-21 21:43 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android16-6.12
head:   54e1389bda8399711722cd321abe212a2327e9a3
commit: 5c1d7ef6718a61393212b8f7971d146d6e1c8e8f [5/5] ANDROID: 16K: Handle pgoff > file_size for shmem and file backed VMAs
config: x86_64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20251221/202512212253.HTasVESV-lkp@intel.com/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/20251221/202512212253.HTasVESV-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/202512212253.HTasVESV-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from fs/f2fs/file.c:28:
   fs/f2fs/f2fs.h: In function 'f2fs_down_read':
   fs/f2fs/f2fs.h:2216:47: error: 'struct f2fs_rwsem' has no member named 'read_waiters'
    2216 |         _trace_android_rvh_f2fs_down_read(&sem->read_waiters, &sem->internal_rwsem, &skip);
         |                                               ^~
   fs/f2fs/file.c: At top level:
>> fs/f2fs/file.c:41:12: warning: no previous prototype for 'f2fs_filemap_fault' [-Wmissing-prototypes]
      41 | vm_fault_t f2fs_filemap_fault(struct vm_fault *vmf)
         |            ^~~~~~~~~~~~~~~~~~


vim +/f2fs_filemap_fault +41 fs/f2fs/file.c

    27	
  > 28	#include "f2fs.h"
    29	#include "node.h"
    30	#include "segment.h"
    31	#include "xattr.h"
    32	#include "acl.h"
    33	#include "gc.h"
    34	#include "iostat.h"
    35	#include <trace/events/f2fs.h>
    36	#include <uapi/linux/f2fs.h>
    37	
    38	#undef CREATE_TRACE_POINTS
    39	#include <trace/hooks/fs.h>
    40	
  > 41	vm_fault_t f2fs_filemap_fault(struct vm_fault *vmf)
    42	{
    43		struct inode *inode = file_inode(vmf->vma->vm_file);
    44		vm_flags_t flags = vmf->vma->vm_flags;
    45		vm_fault_t ret;
    46	
    47		ret = filemap_fault(vmf);
    48		if (ret & VM_FAULT_LOCKED)
    49			f2fs_update_iostat(F2FS_I_SB(inode), inode,
    50						APP_MAPPED_READ_IO, F2FS_BLKSIZE);
    51	
    52		trace_f2fs_filemap_fault(inode, vmf->pgoff, flags, ret);
    53	
    54		return ret;
    55	}
    56	

-- 
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-12-21 21:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-21 21:43 [android-common:android16-6.12 5/5] fs/f2fs/file.c:41:12: warning: no previous prototype for 'f2fs_filemap_fault' 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.