[Intel-gfx] [PATCH 03/34] drm: Add drm_mm_for_each_node_safe()
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Wed Dec 14 12:03:47 UTC 2016
On ke, 2016-12-14 at 11:39 +0000, Chris Wilson wrote:
> On Tue, Dec 13, 2016 at 11:35:42AM +0200, Joonas Lahtinen wrote:
> >
> > On ma, 2016-12-12 at 11:53 +0000, Chris Wilson wrote:
> > >
> > > +#define __drm_mm_nodes(mm) (&(mm)->head_node.node_list)
> >
> > Not static inline for type checking?
>
> I was going to make it static inline, then realised the #define makes it
> work cleanly with a const drm_mm.
Fair enough.
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
More information about the Intel-gfx
mailing list