* [jlayton:ceph-netfs-llist 4/4] fs/ceph/addr.c:433:37: warning: unused variable 'subreq'
@ 2022-06-10 3:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-10 3:05 UTC (permalink / raw)
To: Jeff Layton; +Cc: kbuild-all, linux-kernel
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@intel.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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-10 3:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-10 3:05 [jlayton:ceph-netfs-llist 4/4] fs/ceph/addr.c:433:37: warning: unused variable 'subreq' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).