[Intel-gfx] [PATCH v2] drm/i915/ttm: fix i915_ttm_to_gem() kernel-doc
Jani Nikula
jani.nikula at intel.com
Fri May 12 07:23:32 UTC 2023
On Thu, 04 May 2023, "Das, Nirmoy" <nirmoy.das at linux.intel.com> wrote:
> On 5/4/2023 11:23 AM, Jani Nikula wrote:
>> 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: Jani Nikula <jani.nikula at intel.com>
>
>
> Reviewed-by: Nirmoy Das <nirmoy.das at intel.com>
Thanks, pushed a while back already.
>
>> ---
>> drivers/gpu/drm/i915/gem/i915_gem_ttm.h | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/i915/gem/i915_gem_ttm.h b/drivers/gpu/drm/i915/gem/i915_gem_ttm.h
>> index f8f6bed1b297..67347e62e29b 100644
>> --- a/drivers/gpu/drm/i915/gem/i915_gem_ttm.h
>> +++ b/drivers/gpu/drm/i915/gem/i915_gem_ttm.h
>> @@ -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
>> * 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 *
>> i915_ttm_to_gem(struct ttm_buffer_object *bo)
--
Jani Nikula, Intel Open Source Graphics Center
More information about the Intel-gfx
mailing list