Re: [PATCH] macvtap: rcu_dereference outside read-lock section

From: David Miller
Date: Sat Aug 11 2012 - 21:17:29 EST


From: Denis Efremov <yefremov.denis@xxxxxxxxx>
Date: Sat, 11 Aug 2012 14:05:27 +0400

> - if (rcu_dereference(vlan->taps[i]) == q)
> + if (rcu_dereference_protected(vlan->taps[i],
> + lockdep_is_held(&macvtap_lock)) == q)

You must use the proper combination of TAB character and spaces
to line up the lockdep_is_held() argument with the first column
after openning "(" on the previous line.

Never be lazy and use only TABs.
--
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/