Skip to contentSkip to conversation

drm/drm_exec: fix kernel-doc string in drm_exec_retry

PATCH In review Jakov Novak 2 participants 3 messages Oct 15 – Nov 27

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/drm_exec: fix kernel-doc string in drm_exec_retry

Building the documentation currently with make htmldocs gives the following errors:

  WARNING: ./include/drm/drm_exec.h:159 function parameter '_exec' not described in 'drm_exec_retry'
  WARNING: ./include/drm/drm_exec.h:159 Excess function parameter 'exec' description in 'drm_exec_retry' (did you mean one of: '_exec')
  WARNING: ./include/drm/drm_exec.h:159 function parameter '_exec' not described in 'drm_exec_retry'
  WARNING: ./include/drm/drm_exec.h:159 Excess function parameter 'exec' description in 'drm_exec_retry' (did you mean one of: '_exec')

This is because the parameter is defined without the underscore in the kernel-doc string. Change the parameter name to add the missing underscore.

Fixes bba175a2d4be ("drm/exec, drm/xe: Avoid abusing the drm_exec retry pointer")
---
 include/drm/drm_exec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_exec.h +1 -1
index cc2937185a9f..ae1d074ade5a 100644
@@ -150,7 +150,7 @@ static inline bool drm_exec_is_contended(struct drm_exec *exec)
 
 /**
  * drm_exec_retry() - Unconditionally restart the loop to grab all locks.
- * @exec: drm_exec object
+ * @_exec: drm_exec object
  *
  * Unconditionally retry the loop to lock all objects. For consistency,
  * the exec object needs to be newly initialized.
Signature · 1 line
2.56.0
#1 lore raw
Quoted 41 lines · Jakov Novak

Building the documentation currently with make htmldocs gives the following errors:

  WARNING: ./include/drm/drm_exec.h:159 function parameter '_exec' not
described in 'drm_exec_retry'
  WARNING: ./include/drm/drm_exec.h:159 Excess function parameter 'exec'
description in 'drm_exec_retry' (did you mean one of: '_exec')
  WARNING: ./include/drm/drm_exec.h:159 function parameter '_exec' not
described in 'drm_exec_retry'
  WARNING: ./include/drm/drm_exec.h:159 Excess function parameter 'exec'

description in 'drm_exec_retry' (did you mean one of: '_exec')

This is because the parameter is defined without the underscore in the kernel-doc string. Change the parameter name to add the missing underscore.

Fixes bba175a2d4be ("drm/exec, drm/xe: Avoid abusing the drm_exec retry

pointer")

---
 include/drm/drm_exec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_exec.h +1 -1
index cc2937185a9f..ae1d074ade5a 100644
@@ -150,7 +150,7 @@ static inline bool drm_exec_is_contended(struct
 drm_exec *exec)
 
 /**
  * drm_exec_retry() - Unconditionally restart the loop to grab all locks.
- * @exec: drm_exec object
+ * @_exec: drm_exec object
  *
  * Unconditionally retry the loop to lock all objects. For consistency,

* the exec object needs to be newly initialized.
--
2.56.0

gentle ping...

#2 lore raw
Quoted 36 lines · jakov novak

On Thu, Oct 15, 2026 at 3:51 PM Jakov Novak <[email protected] <mailto:[email protected]>> wrote:

Building the documentation currently with make htmldocs gives the following errors:

  WARNING: ./include/drm/drm_exec.h:159 function parameter '_exec' not described in 'drm_exec_retry'
  WARNING: ./include/drm/drm_exec.h:159 Excess function parameter 'exec' description in 'drm_exec_retry' (did you mean one of: '_exec')
  WARNING: ./include/drm/drm_exec.h:159 function parameter '_exec' not described in 'drm_exec_retry'
  WARNING: ./include/drm/drm_exec.h:159 Excess function parameter 'exec' description in 'drm_exec_retry' (did you mean one of: '_exec')

This is because the parameter is defined without the underscore in the kernel-doc string. Change the parameter name to add the missing underscore.

Fixes bba175a2d4be ("drm/exec, drm/xe: Avoid abusing the drm_exec retry pointer")
Signed-off-by Jakov Novak <[email protected] <mailto:[email protected]>>

---
 include/drm/drm_exec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/drm_exec.h b/include/drm/drm_exec.h
index cc2937185a9f..ae1d074ade5a 100644
--- a/include/drm/drm_exec.h
+++ b/include/drm/drm_exec.h
@@ -150,7 +150,7 @@ static inline bool drm_exec_is_contended(struct drm_exec *exec)

 /**
  * drm_exec_retry() - Unconditionally restart the loop to grab all locks.
- * @exec: drm_exec object
+ * @_exec: drm_exec object
  *
  * Unconditionally retry the loop to lock all objects. For consistency,
  * the exec object needs to be newly initialized.
--
2.56.0

Quoted 1 line

gentle ping...

Just pushed to drm-misc-next, sorry for the delay.

Thanks,
Christian.