Re: [RFC/PATCH] Introduce list_get() and list_get_tail()
From: Andi Kleen
Date: Sat Jul 08 2006 - 09:57:15 EST
Dmitry Torokhov <dtor@xxxxxxxxxxxxx> writes:
> From: Dmitry Torokhov <dtor@xxxxxxx>
>
> Add primitives to access first and last elements of a list instead
> of accessng pointers directly.
Wouldn't that be beter named list_first() and list_last() then?
_get is like _do and usually not very descriptive.
-Andi
-
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/