The patch titled Add Sparse annotations to SRCU wrapper functions in rcutorture has been added to the -mm tree. Its filename is add-sparse-annotations-to-srcu-wrapper-functions-in-rcutorture.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Add Sparse annotations to SRCU wrapper functions in rcutorture From: Josh Triplett <josh@xxxxxxxxxxxxxxx> The SRCU wrapper functions srcu_torture_read_lock and srcu_torture_read_u= nlock in rcutorture intentionally change the SRCU context; annotate them accordingly, to avoid a warning. Signed-off-by: Josh Triplett <josh@xxxxxxxxxxxxxxx> Acked-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/rcutorture.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN kernel/rcutorture.c~add-sparse-annotations-to-srcu-wrapper-functions-in-rcutorture kernel/rcutorture.c --- a/kernel/rcutorture.c~add-sparse-annotations-to-srcu-wrapper-functions-in-rcutorture +++ a/kernel/rcutorture.c @@ -401,7 +401,7 @@ static void srcu_torture_cleanup(void) cleanup_srcu_struct(&srcu_ctl); } -static int srcu_torture_read_lock(void) +static int srcu_torture_read_lock(void) __acquires(&srcu_ctl) { return srcu_read_lock(&srcu_ctl); } @@ -419,7 +419,7 @@ static void srcu_read_delay(struct rcu_r schedule_timeout_interruptible(longdelay); } -static void srcu_torture_read_unlock(int idx) +static void srcu_torture_read_unlock(int idx) __releases(&srcu_ctl) { srcu_read_unlock(&srcu_ctl, idx); } _ Patches currently in -mm which might be from josh@xxxxxxxxxxxxxxx are add-sparse-annotations-to-srcu-wrapper-functions-in-rcutorture.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html