And similarly for this one on both counts. Thanx, Paul ----- Forwarded message from "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> ----- Date: Tue, 28 Oct 2014 15:09:57 -0700 From: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> To: linux-kernel@xxxxxxxxxxxxxxx Cc: mingo@xxxxxxxxxx, laijs@xxxxxxxxxxxxxx, dipankar@xxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, mathieu.desnoyers@xxxxxxxxxxxx, josh@xxxxxxxxxxxxxxxx, tglx@xxxxxxxxxxxxx, peterz@xxxxxxxxxxxxx, rostedt@xxxxxxxxxxx, dhowells@xxxxxxxxxx, edumazet@xxxxxxxxxx, dvhart@xxxxxxxxxxxxxxx, fweisbec@xxxxxxxxx, oleg@xxxxxxxxxx, bobby.prani@xxxxxxxxx, "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> Subject: [PATCH tip/core/rcu 4/9] dm: sparse: Annotate field with __rcu for checking X-Mailer: git-send-email 1.8.1.5 From: Pranith Kumar <bobby.prani@xxxxxxxxx> Annotate the map field with __rcu since this is a rcu pointer which is checked by sparse. Signed-off-by: Pranith Kumar <bobby.prani@xxxxxxxxx> Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx> --- drivers/md/dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/dm.c b/drivers/md/dm.c index e7399362722e..3372b8378830 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -140,7 +140,7 @@ struct mapped_device { * Use dm_get_live_table{_fast} or take suspend_lock for * dereference. */ - struct dm_table *map; + struct dm_table __rcu *map; struct list_head table_devices; struct mutex table_devices_lock; -- 1.8.1.5 ----- End forwarded message ----- ----- End forwarded message ----- -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel