[PATCH 1/2] list.h: Fix list_for_each_entry_safe()

Keith Packard keithp at keithp.com
Fri Jun 18 14:34:14 PDT 2010


On Mon, 14 Jun 2010 09:25:22 -0400, Kristian Høgsberg <krh at bitplanet.net> wrote:

> -	 pos = next, next = __container_of(next->member.next, next, member))
> +	 pos = tmp, tmp = __container_of(pos->member.next, tmp, member))

Any reason this uses a ',' instead of a ';'?

Otherwise,

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100618/d4398d74/attachment.pgp>


More information about the xorg-devel mailing list