summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/ar-internal.h
diff options
context:
space:
mode:
authorPaul E. McKenney2016-07-01 22:44:53 +0200
committerDavid Howells2016-07-06 11:51:14 +0200
commit995f1405610bd8446c5be37d2ffc031a7729e406 (patch)
treefdc1f85b9c5c60f921e94d6475296786d4c04ee9 /net/rxrpc/ar-internal.h
parentIntroduce rb_replace_node_rcu() (diff)
downloadkernel-qcow2-linux-995f1405610bd8446c5be37d2ffc031a7729e406.tar.gz
kernel-qcow2-linux-995f1405610bd8446c5be37d2ffc031a7729e406.tar.xz
kernel-qcow2-linux-995f1405610bd8446c5be37d2ffc031a7729e406.zip
rcu: Suppress sparse warnings for rcu_dereference_raw()
Data structures that are used both with and without RCU protection are difficult to write in a sparse-clean manner. If you mark the relevant pointers with __rcu, sparse will complain about all non-RCU uses, but if you don't mark those pointers, sparse will complain about all RCU uses. This commit therefore suppresses sparse warnings for rcu_dereference_raw(), allowing mixed-protection data structures to avoid these warnings. Reported-by: David Howells <dhowells@redhat.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/ar-internal.h')
0 files changed, 0 insertions, 0 deletions