Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [linux-next:master 2057/2219] fs/f2fs/super.c:3203:5: warning: no previous prototype for function 'f2fs_quota_sync'
@ 2025-02-07 10:48 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-07 10:48 UTC (permalink / raw)
  To: Chao Yu, Chao Yu; +Cc: llvm, oe-kbuild-all, Jaegeuk Kim

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-07 10:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-07 10:48 [linux-next:master 2057/2219] fs/f2fs/super.c:3203:5: warning: no previous prototype for function 'f2fs_quota_sync' 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