Skip to content

Commit 010c98d

Browse files
rddunlaplumag
authored andcommitted
drm/msm: msm_gem_vma.c: fix all kernel-doc warnings
Correct or add kernel-doc comments to eliminate all warnings: Warning: ../drivers/gpu/drm/msm/msm_gem_vma.c:96 expecting prototype for struct msm_vma_op. Prototype was for struct msm_vm_op instead Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/695679/ Link: https://lore.kernel.org/r/20251219184638.1813181-18-rdunlap@infradead.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
1 parent 4fc510e commit 010c98d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

drivers/gpu/drm/msm/msm_gem_vma.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ struct msm_vm_unmap_op {
6565
};
6666

6767
/**
68-
* struct msm_vma_op - A MAP or UNMAP operation
68+
* struct msm_vm_op - A MAP or UNMAP operation
6969
*/
7070
struct msm_vm_op {
7171
/** @op: The operation type */
@@ -798,6 +798,9 @@ static const struct drm_sched_backend_ops msm_vm_bind_ops = {
798798
* synchronous operations are supported. In a user managed VM, userspace
799799
* handles virtual address allocation, and both async and sync operations
800800
* are supported.
801+
*
802+
* Returns: pointer to the created &struct drm_gpuvm on success
803+
* or an ERR_PTR(-errno) on failure.
801804
*/
802805
struct drm_gpuvm *
803806
msm_gem_vm_create(struct drm_device *drm, struct msm_mmu *mmu, const char *name,

0 commit comments

Comments
 (0)