linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [akpm-mm:mm-unstable 272/272] fs/jfs/jfs_metapage.c:238:28: error: called object type 'void *' is not a function or function pointer
@ 2025-05-01 21:12 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-01 21:12 UTC (permalink / raw)
  To: Shivank Garg
  Cc: llvm, 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: arm-randconfig-004-20250502 (https://download.01.org/0day-ci/archive/20250502/202505020532.eOaIqKwc-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250502/202505020532.eOaIqKwc-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/202505020532.eOaIqKwc-lkp@intel.com/

All errors (new ones prefixed by >>):

>> fs/jfs/jfs_metapage.c:238:28: error: called object type 'void *' is not a function or function pointer
     238 |         rc = filemap_migrate_folio(mapping, dst, src, mode);
         |              ~~~~~~~~~~~~~~~~~~~~~^
   fs/jfs/jfs_metapage.c:641:31: error: called object type 'void *' is not a function or function pointer
     641 |                 return filemap_migrate_folio(mapping, dst, src, mode);
         |                        ~~~~~~~~~~~~~~~~~~~~~^
   2 errors generated.


vim +238 fs/jfs/jfs_metapage.c

   226	
   227	static int __metapage_migrate_folio(struct address_space *mapping, struct folio *dst,
   228					    struct folio *src, enum migrate_mode mode)
   229	{
   230		struct metapage *mp;
   231		int page_offset;
   232		int rc;
   233	
   234		mp = folio_to_mp(src, 0);
   235		if (mp && metapage_locked(mp))
   236			return -EAGAIN;
   237	
 > 238		rc = filemap_migrate_folio(mapping, dst, src, mode);
   239		if (rc != MIGRATEPAGE_SUCCESS)
   240			return rc;
   241	
   242		if (unlikely(insert_metapage(dst, mp)))
   243			return -EAGAIN;
   244	
   245		page_offset = mp->data - folio_address(src);
   246		mp->data = folio_address(dst) + page_offset;
   247		mp->folio = dst;
   248		remove_metapage(src, mp);
   249	
   250		return MIGRATEPAGE_SUCCESS;
   251	}
   252	

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

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-01 21:12 [akpm-mm:mm-unstable 272/272] fs/jfs/jfs_metapage.c:238:28: error: called object type 'void *' is not a function or function pointer kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).