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

Christoph Hellwig <[email protected]> Fri, 23 Jul 2004 17:17:24 +0100
Newsgroups gmane.linux.kernel,gmane.linux.file-systems.jffs
Message-ID <[email protected]>
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 <[email protected]>
> Signed-off-by: Maximilian Attems <[email protected]>

Please switch to list_for_each_entry while you're at it.