[Linux-kernel-mentees] [PATCH] include: linux: rculist_nulls: Change docbook comment headers

Madhuparna Bhowmik madhuparnabhowmik04 at gmail.com
Fri Dec 6 07:23:01 UTC 2019


On Fri, Dec 6, 2019 at 5:34 AM Paul E. McKenney <paulmck at kernel.org> wrote:

> On Fri, Dec 06, 2019 at 12:23:52AM +0530, madhuparnabhowmik04 at gmail.com
> wrote:
> > From: Madhuparna Bhowmik <madhuparnabhowmik04 at gmail.com>
> >
> > This patch changes the docbook comment "head for your list"
> > to "head of the list".
> >
> > Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik04 at gmail.com>
>
> I applied both with some updates to the subject line and commit log.
> Could you please double-check for errors on my part?


 Yes, I checked, it seems alright.

Thank you,
Madhuparna


>                                                         Thanx, Paul
>
> > ---
> >  include/linux/rculist_nulls.h | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/include/linux/rculist_nulls.h
> b/include/linux/rculist_nulls.h
> > index 517a06f36c7a..bea311c884b3 100644
> > --- a/include/linux/rculist_nulls.h
> > +++ b/include/linux/rculist_nulls.h
> > @@ -104,7 +104,7 @@ static inline void hlist_nulls_add_head_rcu(struct
> hlist_nulls_node *n,
> >   * hlist_nulls_for_each_entry_rcu - iterate over rcu list of given type
> >   * @tpos:    the type * to use as a loop cursor.
> >   * @pos:     the &struct hlist_nulls_node to use as a loop cursor.
> > - * @head:    the head for your list.
> > + * @head:    the head of the list.
> >   * @member:  the name of the hlist_nulls_node within the struct.
> >   *
> >   * The barrier() is needed to make sure compiler doesn't cache first
> element [1],
> > @@ -124,7 +124,7 @@ static inline void hlist_nulls_add_head_rcu(struct
> hlist_nulls_node *n,
> >   *   iterate over list of given type safe against removal of list entry
> >   * @tpos:    the type * to use as a loop cursor.
> >   * @pos:     the &struct hlist_nulls_node to use as a loop cursor.
> > - * @head:    the head for your list.
> > + * @head:    the head of the list.
> >   * @member:  the name of the hlist_nulls_node within the struct.
> >   */
> >  #define hlist_nulls_for_each_entry_safe(tpos, pos, head, member)
>      \
> > --
> > 2.17.1
> >
>
ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/linux-kernel-mentees/attachments/20191206/88eb57c0/attachment-0001.html>


More information about the Linux-kernel-mentees mailing list