diff options
author | Ying Xue <ying.xue@windriver.com> | 2014-12-12 04:36:14 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-01-06 22:01:13 +0300 |
commit | f520c98e3e5212d8c282a86d9b7697dd70326192 (patch) | |
tree | 56e1257986b636dca094267d1d01a35418f868a3 /net | |
parent | 5f6130fa52ee0df0b1da4518c5bbef42bcfe7d83 (diff) | |
download | linux-f520c98e3e5212d8c282a86d9b7697dd70326192.tar.xz |
rculist: Fix sparse warning
This fixes the following sparse warnings:
make C=1 CF=-D__CHECK_ENDIAN__ net/ipv6/addrconf.o
net/ipv6/addrconf.c:3495:9: error: incompatible types in comparison expression (different address spaces)
net/ipv6/addrconf.c:3495:9: error: incompatible types in comparison expression (different address spaces)
net/ipv6/addrconf.c:3495:9: error: incompatible types in comparison expression (different address spaces)
net/ipv6/addrconf.c:3495:9: error: incompatible types in comparison expression (different address spaces)
To silence these spare complaints, an RCU annotation should be added to
"next" pointer of hlist_node structure through hlist_next_rcu() macro
when iterating over a hlist with hlist_for_each_entry_continue_rcu_bh().
By the way, this commit also resolves the same error appearing in
hlist_for_each_entry_continue_rcu().
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions