* Re: [PATCH 4/4] f2fs: Use module_{subinit, subeixt} helper macros
[not found] <20240723083239.41533-5-youling.tang@linux.dev>
@ 2024-07-23 18:51 ` kernel test robot
2024-07-24 2:14 ` Youling Tang
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2024-07-23 18:51 UTC (permalink / raw)
To: Youling Tang, Arnd Bergmann, Luis Chamberlain, Chris Mason,
Josef Bacik, David Sterba, tytso, Andreas Dilger, Jaegeuk Kim,
Chao Yu, Chao Yu, Christoph Hellwig
Cc: llvm, oe-kbuild-all, linux-arch, linux-kernel, linux-modules,
linux-btrfs, linux-ext4, linux-f2fs-devel, youling.tang,
Youling Tang
Hi Youling,
kernel test robot noticed the following build warnings:
[auto build test WARNING on kdave/for-next]
[also build test WARNING on linus/master next-20240723]
[cannot apply to jaegeuk-f2fs/dev-test jaegeuk-f2fs/dev soc/for-next v6.10]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Youling-Tang/module-Add-module_subinit-_noexit-and-module_subeixt-helper-macros/20240723-164434
base: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-next
patch link: https://lore.kernel.org/r/20240723083239.41533-5-youling.tang%40linux.dev
patch subject: [PATCH 4/4] f2fs: Use module_{subinit, subeixt} helper macros
config: i386-buildonly-randconfig-004-20240724 (https://download.01.org/0day-ci/archive/20240724/202407240204.KcPiCniO-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240724/202407240204.KcPiCniO-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/202407240204.KcPiCniO-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from fs/f2fs/node.c:16:
>> fs/f2fs/f2fs.h:4131:57: warning: non-void function does not return a value [-Wreturn-type]
4131 | static inline int __init f2fs_create_root_stats(void) { }
| ^
1 warning generated.
--
In file included from fs/f2fs/data.c:25:
>> fs/f2fs/f2fs.h:4131:57: warning: non-void function does not return a value [-Wreturn-type]
4131 | static inline int __init f2fs_create_root_stats(void) { }
| ^
fs/f2fs/data.c:2373:10: warning: variable 'index' set but not used [-Wunused-but-set-variable]
2373 | pgoff_t index;
| ^
2 warnings generated.
vim +4131 fs/f2fs/f2fs.h
4128
4129 static inline int f2fs_build_stats(struct f2fs_sb_info *sbi) { return 0; }
4130 static inline void f2fs_destroy_stats(struct f2fs_sb_info *sbi) { }
> 4131 static inline int __init f2fs_create_root_stats(void) { }
4132 static inline void f2fs_destroy_root_stats(void) { }
4133 static inline void f2fs_update_sit_info(struct f2fs_sb_info *sbi) {}
4134 #endif
4135
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 4/4] f2fs: Use module_{subinit, subeixt} helper macros
2024-07-23 18:51 ` [PATCH 4/4] f2fs: Use module_{subinit, subeixt} helper macros kernel test robot
@ 2024-07-24 2:14 ` Youling Tang
0 siblings, 0 replies; 2+ messages in thread
From: Youling Tang @ 2024-07-24 2:14 UTC (permalink / raw)
To: kernel test robot, Arnd Bergmann, Luis Chamberlain, Chris Mason,
Josef Bacik, David Sterba, tytso, Andreas Dilger, Jaegeuk Kim,
Chao Yu, Chao Yu, Christoph Hellwig
Cc: llvm, oe-kbuild-all, linux-arch, linux-kernel, linux-modules,
linux-btrfs, linux-ext4, linux-f2fs-devel, Youling Tang
On 24/07/2024 02:51, kernel test robot wrote:
> Hi Youling,
>
> kernel test robot noticed the following build warnings:
>
> [auto build test WARNING on kdave/for-next]
> [also build test WARNING on linus/master next-20240723]
> [cannot apply to jaegeuk-f2fs/dev-test jaegeuk-f2fs/dev soc/for-next v6.10]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch#_base_tree_information]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Youling-Tang/module-Add-module_subinit-_noexit-and-module_subeixt-helper-macros/20240723-164434
> base: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-next
> patch link: https://lore.kernel.org/r/20240723083239.41533-5-youling.tang%40linux.dev
> patch subject: [PATCH 4/4] f2fs: Use module_{subinit, subeixt} helper macros
> config: i386-buildonly-randconfig-004-20240724 (https://download.01.org/0day-ci/archive/20240724/202407240204.KcPiCniO-lkp@intel.com/config)
> compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240724/202407240204.KcPiCniO-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/202407240204.KcPiCniO-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
> In file included from fs/f2fs/node.c:16:
>>> fs/f2fs/f2fs.h:4131:57: warning: non-void function does not return a value [-Wreturn-type]
> 4131 | static inline int __init f2fs_create_root_stats(void) { }
I'll fix it later.
static inline int __init f2fs_create_root_stats(void) { return 0; }
> | ^
> 1 warning generated.
> --
> In file included from fs/f2fs/data.c:25:
>>> fs/f2fs/f2fs.h:4131:57: warning: non-void function does not return a value [-Wreturn-type]
> 4131 | static inline int __init f2fs_create_root_stats(void) { }
> | ^
> fs/f2fs/data.c:2373:10: warning: variable 'index' set but not used [-Wunused-but-set-variable]
> 2373 | pgoff_t index;
> | ^
> 2 warnings generated.
index = folio_index(folio);
This statement should be moved to CONFIG_F2FS_FS_COMPRESSION.
I'll send a separate patch to fix it if it needs to be modified.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-24 2:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20240723083239.41533-5-youling.tang@linux.dev>
2024-07-23 18:51 ` [PATCH 4/4] f2fs: Use module_{subinit, subeixt} helper macros kernel test robot
2024-07-24 2:14 ` Youling Tang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox