lkml.org 
[lkml]   [2010]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH tip/core/urgent 2/4] RCU: Better explain the condition parameter of rcu_dereference_check()
    Date
    Paul E. McKenney <paulmck@linux.vnet.ibm.com> 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


    \
     
     \ /
      Last update: 2010-04-09 11:15    [W:3.673 / U:0.120 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site