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

From: Christoph Hellwig
Date: Fri Jul 23 2004 - 11:20:56 EST


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