[PATCH] drm: fix whitespace in drm_plane_create_color_properties()

Jani Nikula jani.nikula at linux.intel.com
Thu Aug 4 09:39:02 UTC 2022


On Wed, 03 Aug 2022, Simon Ser <contact at emersion.fr> wrote:
> The drm_property_create_enum() call for "COLOR_RANGE" contains a tab
> character in the middle of the argument list.
>
> Signed-off-by: Simon Ser <contact at emersion.fr>

Reviewed-by: Jani Nikula <jani.nikula at intel.com>

> ---
>  drivers/gpu/drm/drm_color_mgmt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/drm_color_mgmt.c b/drivers/gpu/drm/drm_color_mgmt.c
> index 17c6c3eefcd6..d021497841b8 100644
> --- a/drivers/gpu/drm/drm_color_mgmt.c
> +++ b/drivers/gpu/drm/drm_color_mgmt.c
> @@ -575,7 +575,7 @@ int drm_plane_create_color_properties(struct drm_plane *plane,
>  		len++;
>  	}
>  
> -	prop = drm_property_create_enum(dev, 0,	"COLOR_RANGE",
> +	prop = drm_property_create_enum(dev, 0, "COLOR_RANGE",
>  					enum_list, len);
>  	if (!prop)
>  		return -ENOMEM;

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the dri-devel mailing list