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: <202206101021.BVwn2jkt-lkp@intel.com>
Date:   Fri, 10 Jun 2022 11:05:22 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jeff Layton <jlayton@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [jlayton:ceph-netfs-llist 4/4] fs/ceph/addr.c:433:37: warning:
 unused variable 'subreq'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git ceph-netfs-llist
head:   949c104f62d7b02839584a8cce853d4164f861ac
commit: 949c104f62d7b02839584a8cce853d4164f861ac [4/4] ceph: convert to netfs write helpers
config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20220610/202206101021.BVwn2jkt-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git/commit/?id=949c104f62d7b02839584a8cce853d4164f861ac
        git remote add jlayton https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git
        git fetch --no-tags jlayton ceph-netfs-llist
        git checkout 949c104f62d7b02839584a8cce853d4164f861ac
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash fs/ceph/

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/ceph/addr.c: In function 'ceph_upload_to_server_worker':
>> fs/ceph/addr.c:433:37: warning: unused variable 'subreq' [-Wunused-variable]
     433 |         struct netfs_io_subrequest *subreq =
         |                                     ^~~~~~


vim +/subreq +433 fs/ceph/addr.c

   430	
   431	static void ceph_upload_to_server_worker(struct work_struct *work)
   432	{
 > 433		struct netfs_io_subrequest *subreq =
   434			container_of(work, struct netfs_io_subrequest, work);
   435	}
   436	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ