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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202109052045.vvgBt0Gl-lkp@intel.com>
Date:   Sun, 5 Sep 2021 20:35:59 +0800
From:   kernel test robot <lkp@...el.com>
To:     Amir Goldstein <amir73il@...il.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [amir73il:ovl-watch 18/27] fs/overlayfs/super.c:2164:6: warning: no
 previous prototype for function 'ovl_kill_super'

tree:   https://github.com/amir73il/linux ovl-watch
head:   854541356b2eb98d7779c0f548d5cfb51f80f358
commit: e8140137d1b0304da823ba9954324acae62fb3e1 [18/27] ovl: introduce an fsnotify watch
config: arm-randconfig-r024-20210905 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6fe2beba7d2a41964af658c8c59dd172683ef739)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://github.com/amir73il/linux/commit/e8140137d1b0304da823ba9954324acae62fb3e1
        git remote add amir73il https://github.com/amir73il/linux
        git fetch --no-tags amir73il ovl-watch
        git checkout e8140137d1b0304da823ba9954324acae62fb3e1
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

>> fs/overlayfs/super.c:2164:6: warning: no previous prototype for function 'ovl_kill_super' [-Wmissing-prototypes]
   void ovl_kill_super(struct super_block *sb)
        ^
   fs/overlayfs/super.c:2164:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void ovl_kill_super(struct super_block *sb)
   ^
   static 
   1 warning generated.


vim +/ovl_kill_super +2164 fs/overlayfs/super.c

  2163	
> 2164	void ovl_kill_super(struct super_block *sb)
  2165	{
  2166		/*
  2167		 * We need to destroy the fsnotify group and wait on all pending events
  2168		 * *before* shutting down super block, because event handler is
  2169		 * derefernecing this sb from group->private.
  2170		 */
  2171		if (sb->s_root)
  2172			ovl_free_watch(sb->s_fs_info);
  2173		kill_anon_super(sb);
  2174	}
  2175	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (38124 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ