[Cbe-oss-dev] [patch 2/8] petitboot: Add list_continue_each_entry routine

Jeremy Kerr jk at ozlabs.org
Sat Feb 21 14:13:56 EST 2009


Hi Geoff,

> +#define list_continue_each_entry(_list, _pos, _member) \
> +	for (; &_pos->_member != &(_list)->head; \
> +		_pos = list_entry(_pos->_member.next, typeof(*_pos), _member))
> +

Let's make this consistent and use list_for_each_entry_continue.

Cheers,


Jeremy



More information about the cbe-oss-dev mailing list