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

Alex Deucher alexdeucher at gmail.com
Thu Nov 2 04:02:50 UTC 2017


On Wed, Nov 1, 2017 at 10:04 AM, Liviu Dudau <Liviu.Dudau at arm.com> wrote:
> 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: Alex Deucher <alexander.deucher 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.
> --
> 2.14.3
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list