drm/shmem_helper: Fix kernel-doc name of __drm_gem_shmem_free_sgt_locked
Subsystems (2)
PATCH 1/1 drm/shmem_helper: Fix kernel-doc name of __drm_gem_shmem_free_sgt_locked
The kernel-doc comment names __drm_gem_shmem_release_sgt_locked(), but the function it describes is __drm_gem_shmem_free_sgt_locked(). Update the comment to use the real name, which also fixes the kernel-doc warning about the prototype not matching.
--- drivers/gpu/drm/drm_gem_shmem_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_gem_shmem_helper.c +1 -1
@@ -159,7 +159,7 @@ struct drm_gem_shmem_object *drm_gem_shmem_create(struct drm_device *dev, size_tEXPORT_SYMBOL_GPL (drm_gem_shmem_create);/** -* __drm_gem_shmem_release_sgt_locked - Unpin and DMA unmap pages, and release the +* __drm_gem_shmem_free_sgt_locked - Unpin and DMA unmap pages, and release the * cached scatter/gather table for an shmem GEM object. * @shmem: shmem GEM object *
Signature · 1 line
2.55.0
Quoted 7 lines · Ravin Chokshi
The kernel-doc comment names
__drm_gem_shmem_release_sgt_locked(), but the function it describes is__drm_gem_shmem_free_sgt_locked(). Update the comment to use the real name, which also fixes the kernel-doc warning about the prototype not matching.Fixes b78dab829760 ("drm/gem/shmem: Introduce __drm_gem_shmem_free_sgt_locked()")Signed-off-by Ravin Chokshi <[email protected]>
This is a duplicate of a patch I sent a while back [1].
Quoted 4 lines · Alexandre Courbot
This is a duplicate of a patch I sent a while back [1].
Thanks for letting me know, and sorry for the duplicate. I missed your patch when I searched the archive. I'll drop mine.
Best Regards,
Ravin