On Mon, 2007-04-02 at 20:15 +0200, Johannes Berg wrote: > On Mon, 2007-04-02 at 14:00 -0400, Pavel Roskin wrote: > > > Just for your information, rtnl_lock() is actually a mutex. Neither > > rtnl_lock() nor any mutex operation are annotated to give sparse any > > idea of what they are doing. > > Oh. And I guess rtnl_lock/unlock would need to be annotated and not just > the mutex operations (or are they inlines? I forgot) They are not inlines. Either way, sparse would require annotating them if mutexes are to be tracked the way it's done for spinlocks. -- Regards, Pavel Roskin - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html