From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: include/linux/rbtree_augmented.h:187:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
Date: Sat, 2 Dec 2023 07:47:15 +0800 [thread overview]
Message-ID: <202312020702.TY1PRWPS-lkp@intel.com> (raw)
::::::
:::::: 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
next reply other threads:[~2023-12-01 23:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-01 23:47 kernel test robot [this message]
2023-12-04 2:30 ` include/linux/rbtree_augmented.h:187:25: sparse: sparse: incompatible types in comparison expression (different address spaces): Liu, Yujie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202312020702.TY1PRWPS-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.