[PATCH] drm/drm_plane.h: fix grammar of the comment

Sui Jingfeng posted 1 patch 2 years, 10 months ago
include/drm/drm_plane.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drm/drm_plane.h: fix grammar of the comment
Posted by Sui Jingfeng 2 years, 10 months ago
From: Sui Jingfeng <suijingfeng@loongson.cn>

Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
---
 include/drm/drm_plane.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h
index 51291983ea44..79d62856defb 100644
--- a/include/drm/drm_plane.h
+++ b/include/drm/drm_plane.h
@@ -56,7 +56,7 @@ struct drm_plane_state {
 	/**
 	 * @crtc:
 	 *
-	 * Currently bound CRTC, NULL if disabled. Do not this write directly,
+	 * Currently bound CRTC, NULL if disabled. Do not write this directly,
 	 * use drm_atomic_set_crtc_for_plane()
 	 */
 	struct drm_crtc *crtc;
-- 
2.25.1
Re: drm/drm_plane.h: fix grammar of the comment
Posted by Sui Jingfeng 2 years, 9 months ago
Hi, thanks a lot


On 2023/4/9 21:15, Sui Jingfeng wrote:
> From: Sui Jingfeng <suijingfeng@loongson.cn>
>
> Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
> ---
>   include/drm/drm_plane.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h
> index 51291983ea44..79d62856defb 100644
> --- a/include/drm/drm_plane.h
> +++ b/include/drm/drm_plane.h
> @@ -56,7 +56,7 @@ struct drm_plane_state {
>   	/**
>   	 * @crtc:
>   	 *
> -	 * Currently bound CRTC, NULL if disabled. Do not this write directly,
> +	 * Currently bound CRTC, NULL if disabled. Do not write this directly,
>   	 * use drm_atomic_set_crtc_for_plane()
>   	 */
>   	struct drm_crtc *crtc;
Re: [PATCH] drm/drm_plane.h: fix grammar of the comment
Posted by Daniel Vetter 2 years, 10 months ago
On Sun, Apr 09, 2023 at 09:15:47PM +0800, Sui Jingfeng wrote:
> From: Sui Jingfeng <suijingfeng@loongson.cn>
> 
> Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>

Applied to drm-misc-next, thanks

> ---
>  include/drm/drm_plane.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h
> index 51291983ea44..79d62856defb 100644
> --- a/include/drm/drm_plane.h
> +++ b/include/drm/drm_plane.h
> @@ -56,7 +56,7 @@ struct drm_plane_state {
>  	/**
>  	 * @crtc:
>  	 *
> -	 * Currently bound CRTC, NULL if disabled. Do not this write directly,
> +	 * Currently bound CRTC, NULL if disabled. Do not write this directly,
>  	 * use drm_atomic_set_crtc_for_plane()
>  	 */
>  	struct drm_crtc *crtc;
> -- 
> 2.25.1
> 

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