From: kernel test robot <lkp@intel.com>
To: Chao Yu <yuchao0@huawei.com>, Chao Yu <chao@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Jaegeuk Kim <jaegeuk@kernel.org>
Subject: [linux-next:master 2057/2219] fs/f2fs/super.c:3203:5: warning: no previous prototype for function 'f2fs_quota_sync'
Date: Fri, 7 Feb 2025 18:48:39 +0800 [thread overview]
Message-ID: <202502071851.xAEy4fSP-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: ed58d103e6da15a442ff87567898768dc3a66987
commit: 7e8588cc6b09f027f986a340092ffea747b8edce [2057/2219] f2fs: quota: fix to avoid warning in dquot_writeback_dquots()
config: hexagon-randconfig-002-20250207 (https://download.01.org/0day-ci/archive/20250207/202502071851.xAEy4fSP-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250207/202502071851.xAEy4fSP-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/202502071851.xAEy4fSP-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> fs/f2fs/super.c:3203:5: warning: no previous prototype for function 'f2fs_quota_sync' [-Wmissing-prototypes]
3203 | int f2fs_quota_sync(struct super_block *sb, int type)
| ^
fs/f2fs/super.c:3203:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
3203 | int f2fs_quota_sync(struct super_block *sb, int type)
| ^
| static
1 warning generated.
vim +/f2fs_quota_sync +3203 fs/f2fs/super.c
10a26878564f27 Chao Yu 2021-10-28 3202
af033b2aa8a874 Chao Yu 2018-09-20 @3203 int f2fs_quota_sync(struct super_block *sb, int type)
af033b2aa8a874 Chao Yu 2018-09-20 3204 {
af033b2aa8a874 Chao Yu 2018-09-20 3205 return 0;
af033b2aa8a874 Chao Yu 2018-09-20 3206 }
af033b2aa8a874 Chao Yu 2018-09-20 3207
:::::: The code at line 3203 was first introduced by commit
:::::: af033b2aa8a874fd5737fafe90d159136527b5b4 f2fs: guarantee journalled quota data by checkpoint
:::::: TO: Chao Yu <yuchao0@huawei.com>
:::::: CC: Jaegeuk Kim <jaegeuk@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-02-07 10:48 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=202502071851.xAEy4fSP-lkp@intel.com \
--to=lkp@intel.com \
--cc=chao@kernel.org \
--cc=jaegeuk@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=yuchao0@huawei.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox