]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Revert "drm: Add directive to format code in comment"
authorBagas Sanjaya <bagasdotme@gmail.com>
Fri, 12 Sep 2025 13:06:50 +0000 (20:06 +0700)
committerDanilo Krummrich <dakr@kernel.org>
Sat, 13 Sep 2025 09:17:34 +0000 (11:17 +0200)
Commit 6cc44e9618f03f ("drm: Add directive to format code in comment")
fixes original Sphinx indentation warning as introduced in
471920ce25d50b ("drm/gpuvm: Add locking helpers"), by means of using
code-block:: directive. It semantically conflicts with earlier
bb324f85f72284 ("drm/gpuvm: Wrap drm_gpuvm_sm_map_exec_lock() expected
usage in literal code block") that did the same using double colon
syntax instead. These duplicated literal code block directives causes
the original warnings not being fixed.

Revert 6cc44e9618f03f to keep things rolling without these warnings.

Fixes: 6cc44e9618f0 ("drm: Add directive to format code in comment")
Fixes: 471920ce25d5 ("drm/gpuvm: Add locking helpers")
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
drivers/gpu/drm/drm_gpuvm.c

index 60b672d3fd8353a3d1d4ad7c9a9a8c2bf0e1a749..8b8a3ca8d7fc1d9e63534c437e54b99ca7a59878 100644 (file)
@@ -2432,8 +2432,6 @@ static const struct drm_gpuvm_ops lock_ops = {
  *
  * The expected usage is:
  *
- * .. code-block:: c
- *
  *    vm_bind {
  *        struct drm_exec exec;
  *