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: <202111081505.KgCbaIE3-lkp@intel.com>
Date:   Mon, 8 Nov 2021 15:54:18 +0800
From:   kernel test robot <lkp@...el.com>
To:     "Darrick J. Wong" <djwong@...nel.org>
Cc:     kbuild-all@...ts.01.org,
        "Darrick J. Wong" <darrick.wong@...cle.com>,
        linux-kernel@...r.kernel.org
Subject: [djwong-xfs:vectorized-scrub 100/312] fs/xfs/xfs_ioctl32.c:442:33:
 error: unused variable 'error'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git vectorized-scrub
head:   1804f4671b76293a8a792e5be4e514cefc0f012f
commit: ddece74dd6813897d64cd1c392276a0ef0bf56ca [100/312] xfs: remove old swap extents implementation
config: parisc-buildonly-randconfig-r001-20211026 (attached as .config)
compiler: hppa64-linux-gcc (GCC) 11.2.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/djwong/xfs-linux.git/commit/?id=ddece74dd6813897d64cd1c392276a0ef0bf56ca
        git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
        git fetch --no-tags djwong-xfs vectorized-scrub
        git checkout ddece74dd6813897d64cd1c392276a0ef0bf56ca
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=parisc 

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

All errors (new ones prefixed by >>):

   fs/xfs/xfs_ioctl32.c: In function 'xfs_file_compat_ioctl':
>> fs/xfs/xfs_ioctl32.c:442:33: error: unused variable 'error' [-Werror=unused-variable]
     442 |         int                     error;
         |                                 ^~~~~
   cc1: all warnings being treated as errors


vim +/error +442 fs/xfs/xfs_ioctl32.c

28750975ace79c fs/xfs/linux-2.6/xfs_ioctl32.c sandeen@...deen.net 2008-11-25  432  
4d4be482a4d78c fs/xfs/linux-2.6/xfs_ioctl32.c Christoph Hellwig   2008-12-09  433  long
4d4be482a4d78c fs/xfs/linux-2.6/xfs_ioctl32.c Christoph Hellwig   2008-12-09  434  xfs_file_compat_ioctl(
d5547f9feea459 fs/xfs/linux-2.6/xfs_ioctl32.c sandeen@...deen.net 2008-11-25  435  	struct file		*filp,
e0edd5962bd83d fs/xfs/linux-2.6/xfs_ioctl32.c Nathan Scott        2006-03-29  436  	unsigned		cmd,
4d4be482a4d78c fs/xfs/linux-2.6/xfs_ioctl32.c Christoph Hellwig   2008-12-09  437  	unsigned long		p)
^1da177e4c3f41 fs/xfs/linux-2.6/xfs_ioctl32.c Linus Torvalds      2005-04-16  438  {
496ad9aa8ef448 fs/xfs/xfs_ioctl32.c           Al Viro             2013-01-23  439  	struct inode		*inode = file_inode(filp);
4d4be482a4d78c fs/xfs/linux-2.6/xfs_ioctl32.c Christoph Hellwig   2008-12-09  440  	struct xfs_inode	*ip = XFS_I(inode);
4529e6d7a6ab72 fs/xfs/xfs_ioctl32.c           Christoph Hellwig   2019-08-15  441  	void			__user *arg = compat_ptr(p);
^1da177e4c3f41 fs/xfs/linux-2.6/xfs_ioctl32.c Linus Torvalds      2005-04-16 @442  	int			error;

:::::: The code at line 442 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@...970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@...970.osdl.org>

---
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" (35357 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ