All of lore.kernel.org
 help / color / mirror / Atom feed
* [chao:bugfix/common 3/9] fs/f2fs/node.c:313:6: error: conflicting types for 'f2fs_in_warm_node_list'; have 'bool(struct f2fs_sb_info *, struct folio *)' {aka '_Bool(struct f2fs_sb_info *, struct folio *)'}
@ 2025-05-09  8:32 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-09  8:32 UTC (permalink / raw)
  To: Chao Yu, Chao Yu; +Cc: oe-kbuild-all, Chao Yu, Chao Yu

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git bugfix/common
head:   56f0d9dcfebca8e7a862599e19fa2f462622da46
commit: a3963f90df1f719ba20b77f0aa1bdb29c673809c [3/9] f2fs: introduce is_{meta,node}_folio
config: i386-buildonly-randconfig-001-20250509 (https://download.01.org/0day-ci/archive/20250509/202505091600.SSwjiap4-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250509/202505091600.SSwjiap4-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/202505091600.SSwjiap4-lkp@intel.com/

All errors (new ones prefixed by >>):

>> fs/f2fs/node.c:313:6: error: conflicting types for 'f2fs_in_warm_node_list'; have 'bool(struct f2fs_sb_info *, struct folio *)' {aka '_Bool(struct f2fs_sb_info *, struct folio *)'}
     313 | bool f2fs_in_warm_node_list(struct f2fs_sb_info *sbi, struct folio *folio)
         |      ^~~~~~~~~~~~~~~~~~~~~~
   In file included from fs/f2fs/node.c:16:
   fs/f2fs/f2fs.h:3750:6: note: previous declaration of 'f2fs_in_warm_node_list' with type 'bool(struct f2fs_sb_info *, const struct folio *)' {aka '_Bool(struct f2fs_sb_info *, const struct folio *)'}
    3750 | bool f2fs_in_warm_node_list(struct f2fs_sb_info *sbi,
         |      ^~~~~~~~~~~~~~~~~~~~~~


vim +313 fs/f2fs/node.c

   312	
 > 313	bool f2fs_in_warm_node_list(struct f2fs_sb_info *sbi, struct folio *folio)
   314	{
   315		return is_node_folio(folio) && IS_DNODE(&folio->page) &&
   316						is_cold_node(&folio->page);
   317	}
   318	

-- 
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-09  8:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09  8:32 [chao:bugfix/common 3/9] fs/f2fs/node.c:313:6: error: conflicting types for 'f2fs_in_warm_node_list'; have 'bool(struct f2fs_sb_info *, struct folio *)' {aka '_Bool(struct f2fs_sb_info *, struct folio *)'} 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.