drm/drm_plane.h: fix grammar of the comment

Message ID 20230409131547.494128-1-15330273260@189.cn
State New
Headers
Series drm/drm_plane.h: fix grammar of the comment |

Commit Message

Sui Jingfeng April 9, 2023, 1:15 p.m. UTC
  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(-)
  

Comments

Daniel Vetter April 11, 2023, 2:43 p.m. UTC | #1
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
>
  
Sui Jingfeng May 13, 2023, 1:33 p.m. UTC | #2
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;
  

Patch

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;