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]
Message-ID: <202209300056.Rx5E9ENx-lkp@intel.com>
Date:   Fri, 30 Sep 2022 01:00:54 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ronnie Sahlberg <lsahlber@...hat.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Steve French <stfrench@...rosoft.com>
Subject: [samba-ksmbd:for-next 8/8] fs/cifs/cached_dir.c:415:6: warning: no
 previous prototype for 'free_cached_dir'

tree:   git://git.samba.org/ksmbd.git for-next
head:   41b019f780eba886bdc4cc8d7950dfcc1e386aa8
commit: 41b019f780eba886bdc4cc8d7950dfcc1e386aa8 [8/8] cifs: store a pointer to a fid in the cfid structure instead of the struct
config: loongarch-allyesconfig
compiler: loongarch64-linux-gcc (GCC) 12.1.0
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
        git remote add samba-ksmbd git://git.samba.org/ksmbd.git
        git fetch --no-tags samba-ksmbd for-next
        git checkout 41b019f780eba886bdc4cc8d7950dfcc1e386aa8
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash fs/

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

All warnings (new ones prefixed by >>):

>> fs/cifs/cached_dir.c:415:6: warning: no previous prototype for 'free_cached_dir' [-Wmissing-prototypes]
     415 | void free_cached_dir(struct cached_fid *cfid)
         |      ^~~~~~~~~~~~~~~


vim +/free_cached_dir +415 fs/cifs/cached_dir.c

   414	
 > 415	void free_cached_dir(struct cached_fid *cfid)
   416	{
   417		kfree(cfid->path);
   418		cfid->path = NULL;
   419		kfree(cfid);
   420	}
   421	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (323028 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ