lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 12 Nov 2023 05:43:52 +0800
From:   kernel test robot <lkp@...el.com>
To:     Chao Yu <yuchao0@...wei.com>, Chao Yu <chao@...nel.org>
Cc:     llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
        linux-kernel@...r.kernel.org, Jaegeuk Kim <jaegeuk@...nel.org>
Subject: fs/f2fs/recovery.c:804:5: warning: stack frame size (2064) exceeds
 limit (2048) in 'f2fs_recover_fsync_data'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   3ca112b71f35dd5d99fc4571a56b5fc6f0c15814
commit: 0ef4ca04a3f9223ff8bc440041c524b2123e09a3 f2fs: fix to do sanity check on destination blkaddr during recovery
date:   1 year, 1 month ago
config: powerpc64-randconfig-r005-20230827 (https://download.01.org/0day-ci/archive/20231112/202311120541.Rd5RZFFL-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231112/202311120541.Rd5RZFFL-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311120541.Rd5RZFFL-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> fs/f2fs/recovery.c:804:5: warning: stack frame size (2064) exceeds limit (2048) in 'f2fs_recover_fsync_data' [-Wframe-larger-than]
     804 | int f2fs_recover_fsync_data(struct f2fs_sb_info *sbi, bool check_only)
         |     ^
   1 warning generated.


vim +/f2fs_recover_fsync_data +804 fs/f2fs/recovery.c

d624c96fb3249e Jaegeuk Kim          2012-11-02  803  
4d57b86dd86404 Chao Yu              2018-05-30 @804  int f2fs_recover_fsync_data(struct f2fs_sb_info *sbi, bool check_only)
d624c96fb3249e Jaegeuk Kim          2012-11-02  805  {
26b5a079197c8c Sheng Yong           2018-10-12  806  	struct list_head inode_list, tmp_inode_list;
f61cce5b81f91b Chao Yu              2016-05-07  807  	struct list_head dir_list;
6ead114232f786 Jaegeuk Kim          2013-03-20  808  	int err;
6781eabba1bdb1 Jaegeuk Kim          2016-03-23  809  	int ret = 0;
4b2414d04e9912 Chao Yu              2017-08-08  810  	unsigned long s_flags = sbi->sb->s_flags;
aabe51364f4468 Haicheng Li          2013-10-23  811  	bool need_writecp = false;
c426d99127b1ab Shin'ichiro Kawasaki 2019-12-09  812  	bool fix_curseg_write_pointer = false;
ea6767337f8631 Jaegeuk Kim          2017-10-06  813  #ifdef CONFIG_QUOTA
ea6767337f8631 Jaegeuk Kim          2017-10-06  814  	int quota_enabled;
ea6767337f8631 Jaegeuk Kim          2017-10-06  815  #endif
d624c96fb3249e Jaegeuk Kim          2012-11-02  816  
1751e8a6cb935e Linus Torvalds       2017-11-27  817  	if (s_flags & SB_RDONLY) {
dcbb4c10e6d969 Joe Perches          2019-06-18  818  		f2fs_info(sbi, "recover fsync data on readonly fs");
1751e8a6cb935e Linus Torvalds       2017-11-27  819  		sbi->sb->s_flags &= ~SB_RDONLY;
4b2414d04e9912 Chao Yu              2017-08-08  820  	}
4b2414d04e9912 Chao Yu              2017-08-08  821  

:::::: The code at line 804 was first introduced by commit
:::::: 4d57b86dd86404fd8bb4f87d277d5a86a7fe537e f2fs: clean up symbol namespace

:::::: TO: Chao Yu <yuchao0@...wei.com>
:::::: CC: Jaegeuk Kim <jaegeuk@...nel.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ