On Thu, 04 May 2023, "Das, Nirmoy" <nirmoy.das@xxxxxxxxxxxxxxx> 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@xxxxxxxxx> > > > Reviewed-by: Nirmoy Das <nirmoy.das@xxxxxxxxx> 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