drm/gpuvm: Fix kernel-doc formatting and typo in drm_gpuvm_sm_map_exec_lock
Subsystems (3)
PATCH 1/1 drm/gpuvm: Fix kernel-doc formatting and typo in drm_gpuvm_sm_map_exec_lock
Add .. code-block:: c directive to resolve Sphinx parsing issues like "unexpected indentation" and "definition list ends without a blank line" during make htmldocs.
Also corrected a typo in the return section from "negative error codec" to "negative error code".
Signed-off-by Bala-Vignesh-Reddy <[email protected]>
--- drivers/gpu/drm/drm_gpuvm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_gpuvm.c +3 -1
@@ -2432,6 +2432,8 @@ static const struct drm_gpuvm_ops lock_ops = {* * The expected usage is: * +* .. code-block:: c +* * vm_bind { * struct drm_exec exec; *
@@ -2473,7 +2475,7 @@ static const struct drm_gpuvm_ops lock_ops = {* required without the earlier DRIVER_OP_MAP. This is safe because we've * already locked the GEM object in the earlier DRIVER_OP_MAP step. * -* Returns: 0 on success or a negative error codec +* Returns: 0 on success or a negative error code */ int drm_gpuvm_sm_map_exec_lock(struct drm_gpuvm *gpuvm,
Signature · 1 line
2.43.0