Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Randy Dunlap and committed by
Dmitry Baryshkov
010c98df 4fc510e5

+4 -1
+4 -1
drivers/gpu/drm/msm/msm_gem_vma.c
··· 65 65 }; 66 66 67 67 /** 68 - * struct msm_vma_op - A MAP or UNMAP operation 68 + * struct msm_vm_op - A MAP or UNMAP operation 69 69 */ 70 70 struct msm_vm_op { 71 71 /** @op: The operation type */ ··· 798 798 * synchronous operations are supported. In a user managed VM, userspace 799 799 * handles virtual address allocation, and both async and sync operations 800 800 * are supported. 801 + * 802 + * Returns: pointer to the created &struct drm_gpuvm on success 803 + * or an ERR_PTR(-errno) on failure. 801 804 */ 802 805 struct drm_gpuvm * 803 806 msm_gem_vm_create(struct drm_device *drm, struct msm_mmu *mmu, const char *name,