All of lore.kernel.org
 help / color / mirror / Atom feed
* [trondmy-nfs:testing 27/29] net/sunrpc/debugfs.c:78:21: sparse: sparse: cast removes address space '__rcu' of expression
@ 2024-11-26 17:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-11-26 17:14 UTC (permalink / raw)
  To: Dai Ngo; +Cc: oe-kbuild-all, linux-nfs, Trond Myklebust

tree:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git testing
head:   0c72d16cb63da4589029e2e60b0be86ab4def2c4
commit: 47f2d22f3ba33173238cf7e009b931602983157c [27/29] SUNRPC: display total RPC tasks for RPC client
config: i386-randconfig-r133-20241126 (https://download.01.org/0day-ci/archive/20241127/202411270142.dpt7kOPF-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241127/202411270142.dpt7kOPF-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/202411270142.dpt7kOPF-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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-26 17:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-26 17:14 [trondmy-nfs:testing 27/29] net/sunrpc/debugfs.c:78:21: sparse: sparse: cast removes address space '__rcu' of expression kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.