All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chao Yu <chao@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [chao:feature/large_folio 19/19] fs/f2fs/f2fs.h:38:25: error: implicit declaration of function 'set_sbi_flag'
Date: Wed, 28 Oct 2026 11:47:35 +0100	[thread overview]
Message-ID: <202610281158.BRcuPLy0-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git feature/large_folio
head:   5b72086892ee05798082621df69a27afeff2b233
commit: 6d9668b701d81625696253d7d736b79d7c704a13 [19/19] diff: fix patch 1
config: powerpc-randconfig-r2306-20261028 (https://download.01.org/0day-ci/archive/20261028/202610281158.BRcuPLy0-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 15.3.0
sparse: v0.6.5-rc1-1-gc4640450
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261028/202610281158.BRcuPLy0-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/202610281158.BRcuPLy0-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from fs/f2fs/inline.c:14:
   fs/f2fs/f2fs.h: In function 'f2fs_folio_has_ffs':
>> fs/f2fs/f2fs.h:38:25: error: implicit declaration of function 'set_sbi_flag' [-Wimplicit-function-declaration]
      38 |                         set_sbi_flag(sbi, SBI_NEED_FSCK);               \
         |                         ^~~~~~~~~~~~
   fs/f2fs/f2fs.h:2303:17: note: in expansion of macro 'f2fs_bug_on'
    2303 |                 f2fs_bug_on(F2FS_F_SB(folio), 1);
         |                 ^~~~~~~~~~~


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

734f0d241d2b4e Dave Chinner 2017-10-09  31  
5d56b6718a0f4e Jaegeuk Kim  2013-10-29  32  #ifdef CONFIG_F2FS_CHECK_FS
9850cf4a890888 Jaegeuk Kim  2014-09-02  33  #define f2fs_bug_on(sbi, condition)	BUG_ON(condition)
5d56b6718a0f4e Jaegeuk Kim  2013-10-29  34  #else
9850cf4a890888 Jaegeuk Kim  2014-09-02  35  #define f2fs_bug_on(sbi, condition)					\
9850cf4a890888 Jaegeuk Kim  2014-09-02  36  	do {								\
db48965264110d Yangtao Li   2020-12-01  37  		if (WARN_ON(condition))					\
caf0047e7e1e60 Chao Yu      2015-01-28 @38  			set_sbi_flag(sbi, SBI_NEED_FSCK);		\
9850cf4a890888 Jaegeuk Kim  2014-09-02  39  	} while (0)
5d56b6718a0f4e Jaegeuk Kim  2013-10-29  40  #endif
5d56b6718a0f4e Jaegeuk Kim  2013-10-29  41  

:::::: The code at line 38 was first introduced by commit
:::::: caf0047e7e1e60a7ad1d655d3b81b32e2dfb6095 f2fs: merge flags in struct f2fs_sb_info

:::::: TO: Chao Yu <chao2.yu@samsung.com>
:::::: CC: Jaegeuk Kim <jaegeuk@kernel.org>

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

                 reply	other threads:[~2026-10-28 10:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202610281158.BRcuPLy0-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chao@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.