Re: [PATCH 3/3] tracing/events: use list_for_entry_continue

From: Steven Rostedt
Date: Sat Sep 19 2009 - 11:30:17 EST


On Fri, 2009-09-18 at 17:09 +0200, Frederic Weisbecker wrote:
> On Fri, Sep 18, 2009 at 02:07:05PM +0800, Li Zefan wrote:
> > Simplify s_next() and t_next().
> >
> > Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>
> > ---
>
>
>
>
> Nice.
> I wonder if that can be even more simplified with
> the following existing seq helpers:
>
> extern struct list_head *seq_list_start(struct list_head *head,
> loff_t pos);
> extern struct list_head *seq_list_start_head(struct list_head *head,
> loff_t pos);
> extern struct list_head *seq_list_next(void *v, struct list_head *head,
> loff_t *ppos);

This could be another patch someday.

>
>
> That said, it's already a nice cleanup.
>

I'll take this as an Acked-by then?

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/