[PATCH 1/4] drm/modes: Fix drm_mode_is_420_only() comment

Daniel Vetter daniel at ffwll.ch
Thu Jul 20 18:41:32 UTC 2017


On Thu, Jul 20, 2017 at 01:47:40PM -0400, Sean Paul wrote:
> Fixes the following warnings when building docs:
> ../drivers/gpu/drm/drm_modes.c:1623: warning: No description found for parameter 'display'
> ../drivers/gpu/drm/drm_modes.c:1623: warning: Excess function parameter 'connector' description in 'drm_mode_is_420_only'
> 
> Signed-off-by: Sean Paul <seanpaul at chromium.org>

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
>  drivers/gpu/drm/drm_modes.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
> index d52f0a17a66b..4a3f68a33844 100644
> --- a/drivers/gpu/drm/drm_modes.c
> +++ b/drivers/gpu/drm/drm_modes.c
> @@ -1610,7 +1610,7 @@ int drm_mode_convert_umode(struct drm_display_mode *out,
>   * drm_mode_is_420_only - if a given videomode can be only supported in YCBCR420
>   * output format
>   *
> - * @connector: drm connector under action.
> + * @display: display under action
>   * @mode: video mode to be tested.
>   *
>   * Returns:
> -- 
> 2.14.0.rc0.284.gd933b75aa4-goog
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list