drm/syncobj: Fix kerneldoc
diff mbox

Message ID 20170718074113.5554-1-daniel.vetter@ffwll.ch
State New
Headers show

Commit Message

Daniel Vetter July 18, 2017, 7:41 a.m. UTC
make htmldocs helps with catching these.

Cc: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
 Documentation/gpu/drm-mm.rst  | 2 +-
 drivers/gpu/drm/drm_syncobj.c | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

Comments

Daniel Vetter July 19, 2017, 12:37 p.m. UTC | #1
On Tue, Jul 18, 2017 at 09:41:13AM +0200, Daniel Vetter wrote:
> make htmldocs helps with catching these.
> 
> Cc: Dave Airlie <airlied@gmail.com>
> Signed-off-by: Daniel Vetter <daniel.vetter@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
>

Patch
diff mbox

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.