From: kernel test robot <lkp@intel.com>
To: Dai Ngo <dai.ngo@oracle.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-nfs@vger.kernel.org,
Trond Myklebust <trond.myklebust@hammerspace.com>
Subject: [trondmy-nfs:testing 3/3] net/sunrpc/debugfs.c:78:21: sparse: sparse: cast removes address space '__rcu' of expression
Date: Thu, 26 Dec 2024 02:17:28 +0800 [thread overview]
Message-ID: <202412260244.W95nZtZp-lkp@intel.com> (raw)
tree: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git testing
head: 12e66773269367f89700972348d41910369b60f4
commit: 12e66773269367f89700972348d41910369b60f4 [3/3] SUNRPC: display total RPC tasks for RPC client
config: sh-randconfig-r111-20241225 (https://download.01.org/0day-ci/archive/20241226/202412260244.W95nZtZp-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241226/202412260244.W95nZtZp-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412260244.W95nZtZp-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> net/sunrpc/debugfs.c:78:21: sparse: sparse: cast removes address space '__rcu' of expression
--
>> net/sunrpc/clnt.c:3332:9: sparse: sparse: cast removes address space '__rcu' of expression
net/sunrpc/clnt.c: note: in included file (through include/linux/module.h):
include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
vim +/__rcu +78 net/sunrpc/debugfs.c
70
71 static void
72 tasks_stop(struct seq_file *f, void *v)
73 __releases(&clnt->cl_lock)
74 {
75 struct rpc_clnt *clnt = f->private;
76 spin_unlock(&clnt->cl_lock);
77 seq_printf(f, "clnt[%pISpc] RPC tasks[%d]\n",
> 78 (struct sockaddr *)&clnt->cl_xprt->addr,
79 atomic_read(&clnt->cl_task_count));
80 }
81
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-12-25 18:17 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=202412260244.W95nZtZp-lkp@intel.com \
--to=lkp@intel.com \
--cc=dai.ngo@oracle.com \
--cc=linux-nfs@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=trond.myklebust@hammerspace.com \
/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