On 05/14/2014 08:41 AM, Josh Triplett wrote: > On Tue, May 13, 2014 at 05:30:59PM -0700, Paul E. McKenney wrote: >> From: Uma Sharma <uma.sharma...@gmail.com> >> >> The variable and struct both having the name "rcu_state" confuses >> sparse in some situations, so this commit changes the variable to >> "rcu_state_p" in order to avoid this confusion. This also makes >> things easier for human readers. > > Human readers aside, how does Sparse get confused? Let's fix that.
ack that. Has it been reported on linux-sparse mailing list? > Personally, I don't think the _p makes things particularly easier for > human readers, but it doesn't make things *harder* for anyone other than > those used to reading the existing code, so, *shrug*. -- ~Randy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/