All of lore.kernel.org
 help / color / mirror / Atom feed
* [amir73il:ovl-watch 18/27] fs/overlayfs/super.c:2164:6: warning: no previous prototype for function 'ovl_kill_super'
@ 2021-09-05 12:35 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-05 12:35 UTC (permalink / raw)
  To: Amir Goldstein; +Cc: llvm, kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2161 bytes --]

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@intel.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38124 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [amir73il:ovl-watch 18/27] fs/overlayfs/super.c:2164:6: warning: no previous prototype for function 'ovl_kill_super'
@ 2021-09-05 12:35 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-05 12:35 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2214 bytes --]

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@intel.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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38124 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-05 12:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-05 12:35 [amir73il:ovl-watch 18/27] fs/overlayfs/super.c:2164:6: warning: no previous prototype for function 'ovl_kill_super' kernel test robot
2021-09-05 12:35 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.