Dear Joe Hershberger,

[...]


> While ll_entry_count is great and all, it is more natural to compare
> your list pointer to The End (tm) or not.  It would make client code
> capable of being cleaner if you also include ll_entry_end() as well.

Ain't that

#define ll_entry_end(_type, u) \
ll_entry_start(_type, u) + ll_entry_count(_type, u)

...

_type *end = ll_entry_end(_type, u);

?

> Thanks,
> -Joe

Best regards,
Marek Vasut
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to