From: Josh Triplett <[EMAIL PROTECTED]> Date: Sun, 20 Jan 2008 23:29:32 -0800
> At the moment, Sparse doesn't actually use the context expression. In > the ideal case when it does, all references to the same lock should > use a context expression which resolves to that lock (whatever that > may mean; hence why Sparse doesn't handle it yet). For mechanisms > like RCU without a lock variable, this will likely entail some sort of > fake lock expression, which again needs to match between all users of > the same mechanism. Like any expression in C, case matters; thus, > please match the existing references to "RCU" rather than "rcu". Thus, I've checked in Stephen's patch with __acquires(RCU) and __releases(RCU). Thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html