2022-04-27 01:54:43

by Raphael Gallais-Pou

[permalink] [raw]
Subject: [PATCH] drm: fix typo in comment

Fix typo in a doxygen comment (replaced green by blue) in drm_color_mgmt.c

Signed-off-by: Raphael Gallais-Pou <[email protected]>
---
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 9079fbe21d2f..17c6c3eefcd6 100644
--- a/drivers/gpu/drm/drm_color_mgmt.c
+++ b/drivers/gpu/drm/drm_color_mgmt.c
@@ -259,7 +259,7 @@ static bool drm_crtc_supports_legacy_gamma(struct drm_crtc *crtc)
* @crtc: CRTC object
* @red: red correction table
* @green: green correction table
- * @blue: green correction table
+ * @blue: blue correction table
* @size: size of the tables
* @ctx: lock acquire context
*
--
2.25.1


2022-05-04 23:08:04

by Daniel Vetter

[permalink] [raw]
Subject: Re: [PATCH] drm: fix typo in comment

On Tue, Apr 26, 2022 at 03:19:12PM +0200, Raphael Gallais-Pou wrote:
> Fix typo in a doxygen comment (replaced green by blue) in drm_color_mgmt.c
>
> Signed-off-by: Raphael Gallais-Pou <[email protected]>

Thanks for your patch, applied to drm-misc-next.
-Daniel

> ---
> 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 9079fbe21d2f..17c6c3eefcd6 100644
> --- a/drivers/gpu/drm/drm_color_mgmt.c
> +++ b/drivers/gpu/drm/drm_color_mgmt.c
> @@ -259,7 +259,7 @@ static bool drm_crtc_supports_legacy_gamma(struct drm_crtc *crtc)
> * @crtc: CRTC object
> * @red: red correction table
> * @green: green correction table
> - * @blue: green correction table
> + * @blue: blue correction table
> * @size: size of the tables
> * @ctx: lock acquire context
> *
> --
> 2.25.1
>

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