All of lore.kernel.org
 help / color / mirror / Atom feed
* include/linux/rbtree_augmented.h:187:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
@ 2023-12-01 23:47 kernel test robot
  2023-12-04  2:30 ` Liu, Yujie
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2023-12-01 23:47 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "only Makefile file changed"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Masahiro Yamada <masahiroy@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   994d5c58e50e91bb02c7be4a91d5186292a895c8
commit: b1fbfcb4a20949df08dd995927cdc5ad220c128d kbuild: make single target builds even faster
date:   4 years ago
:::::: branch date: 18 hours ago
:::::: commit date: 4 years ago
config: x86_64-randconfig-122-20231101 (https://download.01.org/0day-ci/archive/20231202/202312020702.TY1PRWPS-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231202/202312020702.TY1PRWPS-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/r/202312020702.TY1PRWPS-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   lib/rbtree.c: note: in included file:
>> include/linux/rbtree_augmented.h:187:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
   include/linux/rbtree_augmented.h:187:25: sparse:    struct rb_node [noderef] <asn:4> *
   include/linux/rbtree_augmented.h:187:25: sparse:    struct rb_node *
   include/linux/rbtree_augmented.h:189:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
   include/linux/rbtree_augmented.h:189:25: sparse:    struct rb_node [noderef] <asn:4> *
   include/linux/rbtree_augmented.h:189:25: sparse:    struct rb_node *
   include/linux/rbtree_augmented.h:191:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
   include/linux/rbtree_augmented.h:191:17: sparse:    struct rb_node [noderef] <asn:4> *
   include/linux/rbtree_augmented.h:191:17: sparse:    struct rb_node *

vim +187 include/linux/rbtree_augmented.h

9c079add0d0f452 Michel Lespinasse 2012-10-08  180  
c1adf20052d80f7 David Howells     2016-07-01  181  static inline void
c1adf20052d80f7 David Howells     2016-07-01  182  __rb_change_child_rcu(struct rb_node *old, struct rb_node *new,
c1adf20052d80f7 David Howells     2016-07-01  183  		      struct rb_node *parent, struct rb_root *root)
c1adf20052d80f7 David Howells     2016-07-01  184  {
c1adf20052d80f7 David Howells     2016-07-01  185  	if (parent) {
c1adf20052d80f7 David Howells     2016-07-01  186  		if (parent->rb_left == old)
c1adf20052d80f7 David Howells     2016-07-01 @187  			rcu_assign_pointer(parent->rb_left, new);
c1adf20052d80f7 David Howells     2016-07-01  188  		else
c1adf20052d80f7 David Howells     2016-07-01  189  			rcu_assign_pointer(parent->rb_right, new);
c1adf20052d80f7 David Howells     2016-07-01  190  	} else
c1adf20052d80f7 David Howells     2016-07-01  191  		rcu_assign_pointer(root->rb_node, new);
c1adf20052d80f7 David Howells     2016-07-01  192  }
c1adf20052d80f7 David Howells     2016-07-01  193  

:::::: The code at line 187 was first introduced by commit
:::::: c1adf20052d80f776849fa2c1acb472cdeb7786c Introduce rb_replace_node_rcu()

:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>

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

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

* RE: include/linux/rbtree_augmented.h:187:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
  2023-12-01 23:47 include/linux/rbtree_augmented.h:187:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel test robot
@ 2023-12-04  2:30 ` Liu, Yujie
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yujie @ 2023-12-04  2:30 UTC (permalink / raw)
  To: lkp, oe-kbuild@lists.linux.dev

not_report

only Makefile change.

The issue is sparse warning in include/linux/rbtree_augmented.h. No relation with this commit.

-----Original Message-----
From: lkp <lkp@intel.com> 
Sent: Saturday, December 2, 2023 07:47
To: oe-kbuild@lists.linux.dev
Cc: lkp <lkp@intel.com>
Subject: include/linux/rbtree_augmented.h:187:25: sparse: sparse: incompatible types in comparison expression (different address spaces):

:::::: 
:::::: Manual check reason: "only Makefile file changed"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Masahiro Yamada <masahiroy@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   994d5c58e50e91bb02c7be4a91d5186292a895c8
commit: b1fbfcb4a20949df08dd995927cdc5ad220c128d kbuild: make single target builds even faster
date:   4 years ago
:::::: branch date: 18 hours ago
:::::: commit date: 4 years ago
config: x86_64-randconfig-122-20231101 (https://download.01.org/0day-ci/archive/20231202/202312020702.TY1PRWPS-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231202/202312020702.TY1PRWPS-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/r/202312020702.TY1PRWPS-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   lib/rbtree.c: note: in included file:
>> include/linux/rbtree_augmented.h:187:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
   include/linux/rbtree_augmented.h:187:25: sparse:    struct rb_node [noderef] <asn:4> *
   include/linux/rbtree_augmented.h:187:25: sparse:    struct rb_node *
   include/linux/rbtree_augmented.h:189:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
   include/linux/rbtree_augmented.h:189:25: sparse:    struct rb_node [noderef] <asn:4> *
   include/linux/rbtree_augmented.h:189:25: sparse:    struct rb_node *
   include/linux/rbtree_augmented.h:191:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
   include/linux/rbtree_augmented.h:191:17: sparse:    struct rb_node [noderef] <asn:4> *
   include/linux/rbtree_augmented.h:191:17: sparse:    struct rb_node *

vim +187 include/linux/rbtree_augmented.h

9c079add0d0f452 Michel Lespinasse 2012-10-08  180  
c1adf20052d80f7 David Howells     2016-07-01  181  static inline void
c1adf20052d80f7 David Howells     2016-07-01  182  __rb_change_child_rcu(struct rb_node *old, struct rb_node *new,
c1adf20052d80f7 David Howells     2016-07-01  183  		      struct rb_node *parent, struct rb_root *root)
c1adf20052d80f7 David Howells     2016-07-01  184  {
c1adf20052d80f7 David Howells     2016-07-01  185  	if (parent) {
c1adf20052d80f7 David Howells     2016-07-01  186  		if (parent->rb_left == old)
c1adf20052d80f7 David Howells     2016-07-01 @187  			rcu_assign_pointer(parent->rb_left, new);
c1adf20052d80f7 David Howells     2016-07-01  188  		else
c1adf20052d80f7 David Howells     2016-07-01  189  			rcu_assign_pointer(parent->rb_right, new);
c1adf20052d80f7 David Howells     2016-07-01  190  	} else
c1adf20052d80f7 David Howells     2016-07-01  191  		rcu_assign_pointer(root->rb_node, new);
c1adf20052d80f7 David Howells     2016-07-01  192  }
c1adf20052d80f7 David Howells     2016-07-01  193  

:::::: The code at line 187 was first introduced by commit
:::::: c1adf20052d80f776849fa2c1acb472cdeb7786c Introduce rb_replace_node_rcu()

:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>

-- 
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:[~2023-12-04  2:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-01 23:47 include/linux/rbtree_augmented.h:187:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel test robot
2023-12-04  2:30 ` Liu, Yujie

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.