* [PATCH] drm/gpuvm: Fix kernel-doc formatting and typo in drm_gpuvm_sm_map_exec_lock
@ 2025-08-03 9:26 Bala-Vignesh-Reddy
0 siblings, 0 replies; only message in thread
From: Bala-Vignesh-Reddy @ 2025-08-03 9:26 UTC (permalink / raw)
To: maarten.lankhorst, mripard, tzimmermann, airlied, simona
Cc: Bala-Vignesh-Reddy, dri-devel, linux-kernel
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 <reddybalavignesh9979@gmail.com>
---
drivers/gpu/drm/drm_gpuvm.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_gpuvm.c b/drivers/gpu/drm/drm_gpuvm.c
index bbc7fecb6f4a..fb46f531fe7d 100644
--- a/drivers/gpu/drm/drm_gpuvm.c
+++ b/drivers/gpu/drm/drm_gpuvm.c
@@ -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,
--
2.43.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-03 9:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-03 9:26 [PATCH] drm/gpuvm: Fix kernel-doc formatting and typo in drm_gpuvm_sm_map_exec_lock Bala-Vignesh-Reddy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®