The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] drm: Add missing documentation for struct drm_plane_size_hint
@ 2024-08-11 10:16 Mohammed Anees
  2024-08-12  9:16 ` Daniel Vetter
  0 siblings, 1 reply; 2+ messages in thread
From: Mohammed Anees @ 2024-08-11 10:16 UTC (permalink / raw)
  To: airlied, daniel, maarten.lankhorst, mripard, tzimmermann
  Cc: Mohammed Anees, dri-devel, linux-kernel

This patch takes care of the following warnings during documentation
compiling:

./include/uapi/drm/drm_mode.h:869: warning: Function parameter or struct member 'width' not described in 'drm_plane_size_hint'
./include/uapi/drm/drm_mode.h:869: warning: Function parameter or struct member 'height' not described in 'drm_plane_size_hint'

Signed-off-by: Mohammed Anees <pvmohammedanees2003@gmail.com>
---
 include/uapi/drm/drm_mode.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index d390011b8..c082810c0 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -859,6 +859,8 @@ struct drm_color_lut {
 
 /**
  * struct drm_plane_size_hint - Plane size hints
+ * @width: The width of the plane in pixel
+ * @height: The height of the plane in pixel
  *
  * The plane SIZE_HINTS property blob contains an
  * array of struct drm_plane_size_hint.
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm: Add missing documentation for struct drm_plane_size_hint
  2024-08-11 10:16 [PATCH] drm: Add missing documentation for struct drm_plane_size_hint Mohammed Anees
@ 2024-08-12  9:16 ` Daniel Vetter
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2024-08-12  9:16 UTC (permalink / raw)
  To: Mohammed Anees
  Cc: airlied, daniel, maarten.lankhorst, mripard, tzimmermann,
	dri-devel, linux-kernel

On Sun, Aug 11, 2024 at 06:16:51AM -0400, Mohammed Anees wrote:
> This patch takes care of the following warnings during documentation
> compiling:
> 
> ./include/uapi/drm/drm_mode.h:869: warning: Function parameter or struct member 'width' not described in 'drm_plane_size_hint'
> ./include/uapi/drm/drm_mode.h:869: warning: Function parameter or struct member 'height' not described in 'drm_plane_size_hint'
> 
> Signed-off-by: Mohammed Anees <pvmohammedanees2003@gmail.com>

Applied to drm-misc-next, thanks.
-sima

> ---
>  include/uapi/drm/drm_mode.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
> index d390011b8..c082810c0 100644
> --- a/include/uapi/drm/drm_mode.h
> +++ b/include/uapi/drm/drm_mode.h
> @@ -859,6 +859,8 @@ struct drm_color_lut {
>  
>  /**
>   * struct drm_plane_size_hint - Plane size hints
> + * @width: The width of the plane in pixel
> + * @height: The height of the plane in pixel
>   *
>   * The plane SIZE_HINTS property blob contains an
>   * array of struct drm_plane_size_hint.
> -- 
> 2.43.0
> 

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-12  9:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-11 10:16 [PATCH] drm: Add missing documentation for struct drm_plane_size_hint Mohammed Anees
2024-08-12  9:16 ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox