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:   Wed, 19 Oct 2022 16:37:09 +0800
From:   kernel test robot <lkp@...el.com>
To:     Christian Brauner <brauner@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [vfs-idmapping:fs.acl.rework 6/30] fs/cifs/cifsacl.c:1749:27:
 warning: variable 'pTcon' set but not used

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git fs.acl.rework
head:   19e0dd91f0e42c373c5b21f86d50177c649fc9e1
commit: 7158b9e7fa857aed6716f13765367b7b917ce7fb [6/30] cifs: implement set acl method
config: nios2-randconfig-r035-20221019
compiler: nios2-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
        # https://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git/commit/?id=7158b9e7fa857aed6716f13765367b7b917ce7fb
        git remote add vfs-idmapping https://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git
        git fetch --no-tags vfs-idmapping fs.acl.rework
        git checkout 7158b9e7fa857aed6716f13765367b7b917ce7fb
        # 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=nios2 SHELL=/bin/bash fs/cifs/

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/cifsacl.c: In function 'cifs_set_acl':
>> fs/cifs/cifsacl.c:1749:27: warning: variable 'pTcon' set but not used [-Wunused-but-set-variable]
    1749 |         struct cifs_tcon *pTcon;
         |                           ^~~~~


vim +/pTcon +1749 fs/cifs/cifsacl.c

  1740	
  1741	int cifs_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
  1742			 struct posix_acl *acl, int type)
  1743	{
  1744		int rc = -EOPNOTSUPP;
  1745		unsigned int xid;
  1746		struct super_block *sb = dentry->d_sb;
  1747		struct cifs_sb_info *cifs_sb = CIFS_SB(sb);
  1748		struct tcon_link *tlink;
> 1749		struct cifs_tcon *pTcon;

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ