[PATCH] drm/syncobj: Fix kerneldoc

Daniel Vetter daniel at ffwll.ch
Wed Jul 19 12:37:21 UTC 2017


On Tue, Jul 18, 2017 at 09:41:13AM +0200, Daniel Vetter wrote:
> make htmldocs helps with catching these.
> 
> Cc: Dave Airlie <airlied at gmail.com>
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>

Applied with Dave's ack from irc.
-Daniel

> ---
>  Documentation/gpu/drm-mm.rst  | 2 +-
>  drivers/gpu/drm/drm_syncobj.c | 2 --
>  2 files changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/Documentation/gpu/drm-mm.rst b/Documentation/gpu/drm-mm.rst
> index ce115caea06f..b08e9dcd9177 100644
> --- a/Documentation/gpu/drm-mm.rst
> +++ b/Documentation/gpu/drm-mm.rst
> @@ -492,7 +492,7 @@ DRM Sync Objects
>     :doc: Overview
>  
>  .. kernel-doc:: include/drm/drm_syncobj.h
> -   :export:
> +   :internal:
>  
>  .. kernel-doc:: drivers/gpu/drm/drm_syncobj.c
>     :export:
> diff --git a/drivers/gpu/drm/drm_syncobj.c b/drivers/gpu/drm/drm_syncobj.c
> index 789ba0b37f7b..a5b38a80a99a 100644
> --- a/drivers/gpu/drm/drm_syncobj.c
> +++ b/drivers/gpu/drm/drm_syncobj.c
> @@ -330,7 +330,6 @@ int drm_syncobj_export_sync_file(struct drm_file *file_private,
>  }
>  /**
>   * drm_syncobj_open - initalizes syncobj file-private structures at devnode open time
> - * @dev: drm_device which is being opened by userspace
>   * @file_private: drm file-private structure to set up
>   *
>   * Called at device open time, sets up the structure for handling refcounting
> @@ -354,7 +353,6 @@ drm_syncobj_release_handle(int id, void *ptr, void *data)
>  
>  /**
>   * drm_syncobj_release - release file-private sync object resources
> - * @dev: drm_device which is being closed by userspace
>   * @file_private: drm file-private structure to clean up
>   *
>   * Called at close time when the filp is going away.
> -- 
> 2.13.2
> 

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


More information about the dri-devel mailing list