* [PATCH] drm: fix whitespace in drm_plane_create_color_properties()
@ 2022-08-03 20:42 Simon Ser
2022-08-04 9:39 ` Jani Nikula
0 siblings, 1 reply; 2+ messages in thread
From: Simon Ser @ 2022-08-03 20:42 UTC (permalink / raw)
To: dri-devel
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@emersion.fr>
---
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;
--
2.37.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm: fix whitespace in drm_plane_create_color_properties()
2022-08-03 20:42 [PATCH] drm: fix whitespace in drm_plane_create_color_properties() Simon Ser
@ 2022-08-04 9:39 ` Jani Nikula
0 siblings, 0 replies; 2+ messages in thread
From: Jani Nikula @ 2022-08-04 9:39 UTC (permalink / raw)
To: Simon Ser, dri-devel
On Wed, 03 Aug 2022, Simon Ser <contact@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@emersion.fr>
Reviewed-by: Jani Nikula <jani.nikula@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-04 9:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-03 20:42 [PATCH] drm: fix whitespace in drm_plane_create_color_properties() Simon Ser
2022-08-04 9:39 ` Jani Nikula
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).