[PATCH 03/34] drm: Add drm_mm_for_each_node_safe()

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Tue Dec 13 09:35:42 UTC 2016

On ma, 2016-12-12 at 11:53 +0000, Chris Wilson wrote:
> A complement to drm_mm_for_each_node(), wraps list_for_each_entry_safe()
> for walking the list of nodes safe against removal.
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>


> +#define __drm_mm_nodes(mm) (&(mm)->head_node.node_list)

Not static inline for type checking?

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
Joonas Lahtinen
Open Source Technology Center
Intel Corporation

More information about the dri-devel mailing list