Skip to content

Commit 07c2494

Browse files
bagasmeDanilo Krummrich
authored andcommitted
Revert "drm: Add directive to format code in comment"
Commit 6cc44e9 ("drm: Add directive to format code in comment") fixes original Sphinx indentation warning as introduced in 471920c ("drm/gpuvm: Add locking helpers"), by means of using code-block:: directive. It semantically conflicts with earlier bb324f8 ("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 6cc44e9 to keep things rolling without these warnings. Fixes: 6cc44e9 ("drm: Add directive to format code in comment") Fixes: 471920c ("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>
1 parent 87b90ce commit 07c2494

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/drm_gpuvm.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2432,8 +2432,6 @@ static const struct drm_gpuvm_ops lock_ops = {
24322432
*
24332433
* The expected usage is:
24342434
*
2435-
* .. code-block:: c
2436-
*
24372435
* vm_bind {
24382436
* struct drm_exec exec;
24392437
*

0 commit comments

Comments
 (0)