Commit 8bf8180f authored by Thierry Reding's avatar Thierry Reding

drm/gem: Fix a few kerneldoc typos

While at it, adjust the drm_gem_handle_create() function declaration to
be more consistent with other functions in the file.
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent f114040e
...@@ -309,7 +309,7 @@ EXPORT_SYMBOL(drm_gem_dumb_destroy); ...@@ -309,7 +309,7 @@ EXPORT_SYMBOL(drm_gem_dumb_destroy);
* drm_gem_handle_create_tail - internal functions to create a handle * drm_gem_handle_create_tail - internal functions to create a handle
* @file_priv: drm file-private structure to register the handle for * @file_priv: drm file-private structure to register the handle for
* @obj: object to register * @obj: object to register
* @handlep: pionter to return the created handle to the caller * @handlep: pointer to return the created handle to the caller
* *
* This expects the dev->object_name_lock to be held already and will drop it * This expects the dev->object_name_lock to be held already and will drop it
* before returning. Used to avoid races in establishing new handles when * before returning. Used to avoid races in establishing new handles when
...@@ -362,7 +362,7 @@ drm_gem_handle_create_tail(struct drm_file *file_priv, ...@@ -362,7 +362,7 @@ drm_gem_handle_create_tail(struct drm_file *file_priv,
} }
/** /**
* gem_handle_create - create a gem handle for an object * drm_gem_handle_create - create a gem handle for an object
* @file_priv: drm file-private structure to register the handle for * @file_priv: drm file-private structure to register the handle for
* @obj: object to register * @obj: object to register
* @handlep: pionter to return the created handle to the caller * @handlep: pionter to return the created handle to the caller
...@@ -371,8 +371,7 @@ drm_gem_handle_create_tail(struct drm_file *file_priv, ...@@ -371,8 +371,7 @@ drm_gem_handle_create_tail(struct drm_file *file_priv,
* to the object, which includes a regular reference count. Callers * to the object, which includes a regular reference count. Callers
* will likely want to dereference the object afterwards. * will likely want to dereference the object afterwards.
*/ */
int int drm_gem_handle_create(struct drm_file *file_priv,
drm_gem_handle_create(struct drm_file *file_priv,
struct drm_gem_object *obj, struct drm_gem_object *obj,
u32 *handlep) u32 *handlep)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment