]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/rcupdate.h
rcu: Add sparse check for RCU_INIT_POINTER()
authorPranith Kumar <bobby.prani@gmail.com>
Thu, 25 Sep 2014 18:03:34 +0000 (14:03 -0400)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 13 Nov 2014 18:35:38 +0000 (10:35 -0800)
commit1a6c9b2675460718f819def9a272cca35575eeb7
tree67aef2e75b75bb4a63ce3dbedbc47b3c598c596a
parent0eafa46823971b4c368f4cdf19f1d081c4ee52b7
rcu: Add sparse check for RCU_INIT_POINTER()

Add a sparse check when RCU_INIT_POINTER() is used to assign a non __rcu
annotated pointer.

Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcupdate.h