linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [akpm-mm:mm-unstable 272/272] fs/jfs/jfs_metapage.c:637: warning: Function parameter or struct member 'mapping' not described in 'metapage_migrate_folio'
@ 2025-05-01  8:21 kernel test robot
  2025-05-01 11:36 ` Shivank Garg
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-05-01  8:21 UTC (permalink / raw)
  To: Shivank Garg; +Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head:   ea17e4fdc13cae144d90ce8561c2f50a49492037
commit: ea17e4fdc13cae144d90ce8561c2f50a49492037 [272/272] jfs: implement migrate_folio for jfs_metapage_aops
config: csky-randconfig-002-20250501 (https://download.01.org/0day-ci/archive/20250501/202505011647.L0LGO7Lm-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250501/202505011647.L0LGO7Lm-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/202505011647.L0LGO7Lm-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> fs/jfs/jfs_metapage.c:637: warning: Function parameter or struct member 'mapping' not described in 'metapage_migrate_folio'
>> fs/jfs/jfs_metapage.c:637: warning: Function parameter or struct member 'dst' not described in 'metapage_migrate_folio'
>> fs/jfs/jfs_metapage.c:637: warning: Function parameter or struct member 'src' not described in 'metapage_migrate_folio'
>> fs/jfs/jfs_metapage.c:637: warning: Function parameter or struct member 'mode' not described in 'metapage_migrate_folio'


vim +637 fs/jfs/jfs_metapage.c

   631	
   632	/**
   633	 * metapage_migrate_folio - Migration function for JFS metapages
   634	 */
   635	static int metapage_migrate_folio(struct address_space *mapping, struct folio *dst,
   636					  struct folio *src, enum migrate_mode mode)
 > 637	{
   638		int expected_count;
   639	
   640		if (!src->private)
   641			return filemap_migrate_folio(mapping, dst, src, mode);
   642	
   643		/* Check whether page does not have extra refs before we do more work */
   644		expected_count = folio_expected_ref_count(src) + 1;
   645		if (folio_ref_count(src) != expected_count)
   646			return -EAGAIN;
   647		return __metapage_migrate_folio(mapping, dst, src, mode);
   648	}
   649	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-01 11:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-01  8:21 [akpm-mm:mm-unstable 272/272] fs/jfs/jfs_metapage.c:637: warning: Function parameter or struct member 'mapping' not described in 'metapage_migrate_folio' kernel test robot
2025-05-01 11:36 ` Shivank Garg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox