Re: [PATCH tip/core/urgent 2/4] RCU: Better explain the condition parameter of rcu_dereference_check()

From: David Howells
Date: Fri Apr 09 2010 - 05:12:46 EST


Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx> wrote:

> + * bar = rcu_dereference_check(foo->bar, rcu_read_lock_held() ||
> + * lockdep_is_held(&foo->lock),
> + * atomic_read(&foo->usage) == 0);

As pointed out by Yong Zhang, the comma after lockdep_is_held() should be a
||.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/