lkml.org 
[lkml]   [2007]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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/

    \
     
     \ /
      Last update: 2007-03-04 19:57    [W:0.024 / U:0.660 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site