mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jeff Layton <jlayton@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [jlayton:ceph-netfs-llist 4/4] fs/ceph/addr.c:433:37: warning: unused variable 'subreq'
Date: Fri, 10 Jun 2022 11:05:22 +0800	[thread overview]
Message-ID: <202206101021.BVwn2jkt-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-06-10  3:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202206101021.BVwn2jkt-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jlayton@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®