[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202601131739.ArXIUTF9-lkp@intel.com>
Date: Tue, 13 Jan 2026 17:53:13 +0800
From: kernel test robot <lkp@...el.com>
To: Dai Ngo <dai.ngo@...cle.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Anna Schumaker <anna.schumaker@...cle.com>
Subject: net/sunrpc/debugfs.c:78:21: sparse: sparse: cast removes
address space '__rcu' of expression
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b71e635feefc852405b14620a7fc58c4c80c0f73
commit: bb504321b96550f9a351920e169de141a3f4c6a1 SUNRPC: display total RPC tasks for RPC client
date: 1 year ago
config: m68k-randconfig-r111-20260113 (https://download.01.org/0day-ci/archive/20260113/202601131739.ArXIUTF9-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260113/202601131739.ArXIUTF9-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601131739.ArXIUTF9-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
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
Powered by blists - more mailing lists