mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* net/sunrpc/clnt.c:3332:9: sparse: sparse: cast removes address space '__rcu' of expression
@ 2026-02-15 19:47 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-02-15 19:47 UTC (permalink / raw)
  To: Dai Ngo; +Cc: oe-kbuild-all, linux-kernel, Anna Schumaker

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   bb7a3fc2c976b5d0deb35a54ca237519816d7ba9
commit: bb504321b96550f9a351920e169de141a3f4c6a1 SUNRPC: display total RPC tasks for RPC client
date:   1 year, 1 month ago
config: i386-randconfig-063-20260216 (https://download.01.org/0day-ci/archive/20260216/202602160345.qNQDuGRr-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260216/202602160345.qNQDuGRr-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/202602160345.qNQDuGRr-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> net/sunrpc/clnt.c:3332:9: sparse: sparse: cast removes address space '__rcu' of expression

vim +/__rcu +3332 net/sunrpc/clnt.c

  3328	
  3329	#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
  3330	static void rpc_show_header(struct rpc_clnt *clnt)
  3331	{
> 3332		printk(KERN_INFO "clnt[%pISpc] RPC tasks[%d]\n",
  3333		       (struct sockaddr *)&clnt->cl_xprt->addr,
  3334		       atomic_read(&clnt->cl_task_count));
  3335		printk(KERN_INFO "-pid- flgs status -client- --rqstp- "
  3336			"-timeout ---ops--\n");
  3337	}
  3338	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 2+ messages in thread

* net/sunrpc/clnt.c:3332:9: sparse: sparse: cast removes address space '__rcu' of expression
@ 2025-12-10 23:14 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-12-10 23:14 UTC (permalink / raw)
  To: Dai Ngo; +Cc: oe-kbuild-all, linux-kernel, Anna Schumaker

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0048fbb4011ec55c32d3148b2cda56433f273375
commit: bb504321b96550f9a351920e169de141a3f4c6a1 SUNRPC: display total RPC tasks for RPC client
date:   11 months ago
config: x86_64-randconfig-121-20251210 (https://download.01.org/0day-ci/archive/20251211/202512110700.lQgkw0Ep-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251211/202512110700.lQgkw0Ep-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/202512110700.lQgkw0Ep-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> net/sunrpc/clnt.c:3332:9: sparse: sparse: cast removes address space '__rcu' of expression

vim +/__rcu +3332 net/sunrpc/clnt.c

  3328	
  3329	#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
  3330	static void rpc_show_header(struct rpc_clnt *clnt)
  3331	{
> 3332		printk(KERN_INFO "clnt[%pISpc] RPC tasks[%d]\n",
  3333		       (struct sockaddr *)&clnt->cl_xprt->addr,
  3334		       atomic_read(&clnt->cl_task_count));
  3335		printk(KERN_INFO "-pid- flgs status -client- --rqstp- "
  3336			"-timeout ---ops--\n");
  3337	}
  3338	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-15 19:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-15 19:47 net/sunrpc/clnt.c:3332:9: sparse: sparse: cast removes address space '__rcu' of expression kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2025-12-10 23:14 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

all inboxes | Powered by JetHome®