[PATCH] drm/mm: Some doc polish

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 28 17:37:26 UTC 2016


On Wed, Dec 28, 2016 at 05:57:40PM +0100, Daniel Vetter wrote:
> @@ -230,23 +272,23 @@ static inline u64 drm_mm_hole_node_end(const struct drm_mm_node *hole_node)
>  
>  /**
>   * drm_mm_for_each_node - iterator to walk over all allocated nodes
> - * @entry: drm_mm_node structure to assign to in each iteration step
> - * @mm: drm_mm allocator to walk
> + * @entry: &drm_mm_node structure to assign to in each iteration step

If we have the &struct link, do we need to say "structure"?
We use a mix of "&struct structure" and plain "&struct". Choose a style
and make it consistent. (Bonus points for an easy to find style guide.)
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the dri-devel mailing list