Messages in this thread | | | Date | Sun, 4 Mar 2007 12:33:10 -0500 | From | Gerald Britton <> | Subject | Re: [PATCH] [RSDL 1/6] lists: add list splice tail |
| |
On Sun, Mar 04, 2007 at 06:02:13PM +1100, Con Kolivas wrote: > Add a list_splice_tail variant of list_splice. > > Patch-by: Peter Zijlstra <a.p.zijlstra@chello.nl> > Signed-off-by: Con Kolivas <kernel@kolivas.org> ... > @@ -360,6 +386,22 @@ static inline void list_splice_init(stru > } > > /** > + * list_splice_init - join two lists at one's tail and reinitialise emptied
You should update the comment to match the function.
-- Gerald
> + * @list: the new list to add. > + * @head: the place to add it in the first list. > + * > + * The list at @list is reinitialised > + */ > +static inline void list_splice_tail_init(struct list_head *list, > + struct list_head *head) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |