Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [chao:feature/large_folio_v7+ 16/22] fs/f2fs/f2fs.h:2303:3: error: call to undeclared function 'set_sbi_flag'; ISO C99 and later do not support implicit function declarations
@ 2026-11-02 20:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-02 20:07 UTC (permalink / raw)
  To: Chao Yu; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git feature/large_folio_v7+
head:   5b72086892ee05798082621df69a27afeff2b233
commit: 70ebe88955b4db7e829c8a27938bcce16c5a2686 [16/22] diff: fix patch 1
config: arm64-randconfig-1003-20261102 (https://download.01.org/0day-ci/archive/20261103/202611030337.dami3tsw-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 65303e81f481bbfe386b8596423f94c43198ba94)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261103/202611030337.dami3tsw-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/202611030337.dami3tsw-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from fs/f2fs/file.c:29:
>> fs/f2fs/f2fs.h:2303:3: error: call to undeclared function 'set_sbi_flag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    2303 |                 f2fs_bug_on(F2FS_F_SB(folio), 1);
         |                 ^
   fs/f2fs/f2fs.h:38:4: note: expanded from macro 'f2fs_bug_on'
      38 |                         set_sbi_flag(sbi, SBI_NEED_FSCK);               \
         |                         ^
   1 error generated.


vim +/set_sbi_flag +2303 fs/f2fs/f2fs.h

  2290	
  2291	static inline bool f2fs_folio_has_ffs(const struct folio *folio)
  2292	{
  2293		unsigned long private = (unsigned long)folio->private;
  2294	
  2295		if (!folio_test_large(folio) || !private)
  2296			return false;
  2297	
  2298		/*
  2299		 * A large folio should always carry f2fs_folio_state rather than
  2300		 * non-pointer private flags at its folio->private.
  2301		 */
  2302		if (unlikely(test_bit(PAGE_PRIVATE_NOT_POINTER, &private))) {
> 2303			f2fs_bug_on(F2FS_F_SB(folio), 1);
  2304			return false;
  2305		}
  2306		return true;
  2307	}
  2308	

--
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:[~2026-11-02 20:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-02 20:07 [chao:feature/large_folio_v7+ 16/22] fs/f2fs/f2fs.h:2303:3: error: call to undeclared function 'set_sbi_flag'; ISO C99 and later do not support implicit function declarations 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