Re: [patch-kj] use list_for_each() in fs/jffs/intrep.c

From: maximilian attems
Date: Sun Jul 25 2004 - 07:16:56 EST


On Fri, 23 Jul 2004, Christoph Hellwig wrote:

> On Fri, Jul 23, 2004 at 05:55:28PM +0200, maximilian attems wrote:
> >
> > Use list_for_each() where applicable
> > - for (list = ymf_devs.next; list != &ymf_devs; list = list->next) {
> > + list_for_each(list, &ymf_devs) {
> > pure cosmetic change, defined as a preprocessor macro in:
> > include/linux/list.h
> >
> > applies cleanly to 2.6.8-rc2
> >
> > From: Domen Puncer <domen@xxxxxxxxxxxx>
> > Signed-off-by: Maximilian Attems <janitor@xxxxxxxxxxxxxx>
>
> Please switch to list_for_each_entry while you're at it.

thx will look through the patches that needs that.
a++ maks

-
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/