[PATCH] drm/drm_mm.h: Fix the name of the referenced function in comment

Christian König ckoenig.leichtzumerken at gmail.com
Thu Nov 2 09:46:50 UTC 2017


Am 01.11.2017 um 15:04 schrieb Liviu Dudau:
> drm_mm_insert_node_generic() is a simplified version of
> drm_mm_insert_node_in_range(), update comment to reflect correct
> function name.
>
> Signed-off-by: Liviu Dudau <liviu.dudau at arm.com>

Reviewed-by: Christian König <christian.koenig at amd.com>

> ---
>   include/drm/drm_mm.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/drm/drm_mm.h b/include/drm/drm_mm.h
> index 8d10fc97801ce..101f566ae43d0 100644
> --- a/include/drm/drm_mm.h
> +++ b/include/drm/drm_mm.h
> @@ -386,7 +386,7 @@ int drm_mm_insert_node_in_range(struct drm_mm *mm,
>    * @color: opaque tag value to use for this node
>    * @mode: fine-tune the allocation search and placement
>    *
> - * This is a simplified version of drm_mm_insert_node_in_range_generic() with no
> + * This is a simplified version of drm_mm_insert_node_in_range() with no
>    * range restrictions applied.
>    *
>    * The preallocated node must be cleared to 0.




More information about the dri-devel mailing list