On Wed, 2012-04-11 at 17:30 -0700, Paul E. McKenney wrote:> On Tue, Apr 10, 2012 at 02:07:40PM -0400, Michel Machado wrote:> > Replaced list_first_entry_rcu() with list_first_or_null_rcu() because> > list_first_entry_rcu() is not safe as one can find in the comment that> > this patch also adds.> > > > This patch incorporated Paul's suggestions to the previous version of> > this patch available here:> > > > https://lkml.org/lkml/2012/4/2/536> > > > This patch cannot break any upstream code because list_first_entry_rcu> > is not being used anywhere in the kernel (tested with grep(1)), and> > external code that uses it is probably broken already.> > Thank you, Michel, I have queued this.> > However, in the future, could you please configure your email client to> avoid breaking lines and could you please also run scripts/checkpatch.pl> on future patches? Applying your patch took some hand-editing to merge> the broken lines and to remove trailing spaces on lines.> > Thanx, Paul>