[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250803092622.27532-1-reddybalavignesh9979@gmail.com>
Date: Sun, 3 Aug 2025 14:56:15 +0530
From: Bala-Vignesh-Reddy <reddybalavignesh9979@...il.com>
To: maarten.lankhorst@...ux.intel.com,
mripard@...nel.org,
tzimmermann@...e.de,
airlied@...il.com,
simona@...ll.ch
Cc: Bala-Vignesh-Reddy <reddybalavignesh9979@...il.com>,
dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] 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 <reddybalavignesh9979@...il.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
Powered by blists - more mailing lists