summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2014-08-13 18:38:31 +0400
committerDavid S. Miller <davem@davemloft.net>2014-08-15 02:13:39 +0400
commit93f560811e80216e98f3fcec220aa0f8836b09af (patch)
treec04384f2ba1a9d07431c1705bc0f3462066c1f25 /Documentation
parentc91eee56dc4f8c3d9ae834bacb835596d47a709e (diff)
downloadlinux-93f560811e80216e98f3fcec220aa0f8836b09af.tar.xz
rhashtable: fix annotations for rht_for_each_entry_rcu()
Call rcu_deference_raw() directly from within rht_for_each_entry_rcu() as list_for_each_entry_rcu() does. Fixes the following sparse warnings: net/netlink/af_netlink.c:2906:25: expected struct rhash_head const *__mptr net/netlink/af_netlink.c:2906:25: got struct rhash_head [noderef] <asn:4>*<noident> Fixes: e341694e3eb57fc ("netlink: Convert netlink_lookup() to use RCU protected hash table") Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions