Commit c6948d8c authored by Jani Nikula's avatar Jani Nikula

drm/i915/ttm: fix i915_ttm_to_gem() kernel-doc

drivers/gpu/drm/i915/gem/i915_gem_ttm.h:50: warning: Function parameter or member 'bo' not described in 'i915_ttm_to_gem'

v2: Fix return value documentation while at it (Rodrigo)
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarNirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230504092320.1787627-1-jani.nikula@intel.com
parent 9d7fe94d
...@@ -42,8 +42,9 @@ static inline bool i915_ttm_is_ghost_object(struct ttm_buffer_object *bo) ...@@ -42,8 +42,9 @@ static inline bool i915_ttm_is_ghost_object(struct ttm_buffer_object *bo)
/** /**
* i915_ttm_to_gem - Convert a struct ttm_buffer_object to an embedding * i915_ttm_to_gem - Convert a struct ttm_buffer_object to an embedding
* struct drm_i915_gem_object. * struct drm_i915_gem_object.
* @bo: Pointer to the ttm buffer object
* *
* Return: Pointer to the embedding struct ttm_buffer_object. * Return: Pointer to the embedding struct drm_i915_gem_object.
*/ */
static inline struct drm_i915_gem_object * static inline struct drm_i915_gem_object *
i915_ttm_to_gem(struct ttm_buffer_object *bo) i915_ttm_to_gem(struct ttm_buffer_object *bo)
......
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