* include/linux/rbtree.h:74:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
@ 2025-05-20 9:31 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-05-20 9:31 UTC (permalink / raw)
To: Mike Rapoport (IBM); +Cc: oe-kbuild-all, linux-kernel, Luis Chamberlain
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a5806cd506af5a7c19bcd596e4708b5c464bfd21
commit: 2c9e5d4a008293407836d29d35dfd4353615bd2f bpf: remove CONFIG_BPF_JIT dependency on CONFIG_MODULES of
date: 1 year ago
config: powerpc64-randconfig-r121-20250520 (https://download.01.org/0day-ci/archive/20250520/202505201742.5rpaA9Qr-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 7.5.0
reproduce: (https://download.01.org/0day-ci/archive/20250520/202505201742.5rpaA9Qr-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/202505201742.5rpaA9Qr-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
kernel/bpf/core.c:241:49: sparse: sparse: arithmetics on pointers to functions
kernel/bpf/core.c:1997:43: sparse: sparse: arithmetics on pointers to functions
kernel/bpf/core.c:2002:48: sparse: sparse: arithmetics on pointers to functions
kernel/bpf/core.c:2268:77: sparse: sparse: subtraction of functions? Share your drugs
kernel/bpf/core.c: note: in included file (through include/trace/trace_events.h, include/trace/define_trace.h, include/trace/events/xdp.h, ...):
include/trace/events/xdp.h:321:1: sparse: sparse: Using plain integer as NULL pointer
include/trace/events/xdp.h:348:1: sparse: sparse: Using plain integer as NULL pointer
include/trace/events/xdp.h:382:1: sparse: sparse: Using plain integer as NULL pointer
kernel/bpf/core.c: note: in included file (through include/linux/rbtree_latch.h, include/linux/bpf.h, include/linux/filter.h):
>> include/linux/rbtree.h:74:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
include/linux/rbtree.h:74:9: sparse: struct rb_node [noderef] __rcu *
include/linux/rbtree.h:74:9: sparse: struct rb_node *
>> include/linux/rbtree.h:74:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
include/linux/rbtree.h:74:9: sparse: struct rb_node [noderef] __rcu *
include/linux/rbtree.h:74:9: sparse: struct rb_node *
vim +74 include/linux/rbtree.h
^1da177e4c3f41 Linus Torvalds 2005-04-16 67
d72da4a4d973d8 Peter Zijlstra 2015-05-27 68 static inline void rb_link_node_rcu(struct rb_node *node, struct rb_node *parent,
d72da4a4d973d8 Peter Zijlstra 2015-05-27 69 struct rb_node **rb_link)
d72da4a4d973d8 Peter Zijlstra 2015-05-27 70 {
d72da4a4d973d8 Peter Zijlstra 2015-05-27 71 node->__rb_parent_color = (unsigned long)parent;
d72da4a4d973d8 Peter Zijlstra 2015-05-27 72 node->rb_left = node->rb_right = NULL;
d72da4a4d973d8 Peter Zijlstra 2015-05-27 73
d72da4a4d973d8 Peter Zijlstra 2015-05-27 @74 rcu_assign_pointer(*rb_link, node);
d72da4a4d973d8 Peter Zijlstra 2015-05-27 75 }
d72da4a4d973d8 Peter Zijlstra 2015-05-27 76
:::::: The code at line 74 was first introduced by commit
:::::: d72da4a4d973d8a0a0d3c97e7cdebf287fbe3a99 rbtree: Make lockless searches non-fatal
:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Rusty Russell <rusty@rustcorp.com.au>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* include/linux/rbtree.h:74:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
@ 2025-08-29 16:45 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-08-29 16:45 UTC (permalink / raw)
To: Christian Brauner; +Cc: oe-kbuild-all, linux-kernel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 07d9df80082b8d1f37e05658371b087cb6738770
commit: 16ecd47cb0cd895c7c2f5dd5db50f6c005c51639 pidfs: lookup pid through rbtree
date: 9 months ago
config: x86_64-randconfig-121-20250829 (https://download.01.org/0day-ci/archive/20250830/202508300010.SwYrxEC0-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250830/202508300010.SwYrxEC0-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/202508300010.SwYrxEC0-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
fs/pidfs.c: note: in included file (through include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h, ...):
>> include/linux/rbtree.h:74:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
include/linux/rbtree.h:74:9: sparse: struct rb_node [noderef] __rcu *
include/linux/rbtree.h:74:9: sparse: struct rb_node *
vim +74 include/linux/rbtree.h
^1da177e4c3f41 Linus Torvalds 2005-04-16 67
d72da4a4d973d8 Peter Zijlstra 2015-05-27 68 static inline void rb_link_node_rcu(struct rb_node *node, struct rb_node *parent,
d72da4a4d973d8 Peter Zijlstra 2015-05-27 69 struct rb_node **rb_link)
d72da4a4d973d8 Peter Zijlstra 2015-05-27 70 {
d72da4a4d973d8 Peter Zijlstra 2015-05-27 71 node->__rb_parent_color = (unsigned long)parent;
d72da4a4d973d8 Peter Zijlstra 2015-05-27 72 node->rb_left = node->rb_right = NULL;
d72da4a4d973d8 Peter Zijlstra 2015-05-27 73
d72da4a4d973d8 Peter Zijlstra 2015-05-27 @74 rcu_assign_pointer(*rb_link, node);
d72da4a4d973d8 Peter Zijlstra 2015-05-27 75 }
d72da4a4d973d8 Peter Zijlstra 2015-05-27 76
:::::: The code at line 74 was first introduced by commit
:::::: d72da4a4d973d8a0a0d3c97e7cdebf287fbe3a99 rbtree: Make lockless searches non-fatal
:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Rusty Russell <rusty@rustcorp.com.au>
--
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:[~2025-08-29 16:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-29 16:45 include/linux/rbtree.h:74:9: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2025-05-20 9:31 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;
as well as URLs for NNTP newsgroup(s).