Skip to contentSkip to conversation

drm: drm/drm_modeset_lock.h: add a kernel-doc entry

PATCH New Randy Dunlap 1 participant 1 message Dec 19, 2021

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

PATCH 1/1 drm: drm/drm_modeset_lock.h: add a kernel-doc entry

Add @stack_depot to the kernel-doc comments to prevent a kernel-doc build warning.

../include/drm/drm_modeset_lock.h:74: warning: Function parameter or member 'stack_depot' not described in 'drm_modeset_acquire_ctx'

Cc David Airlie <[email protected]>
Cc Daniel Vetter <[email protected]>
---
 include/drm/drm_modeset_lock.h |    1 +
 1 file changed, 1 insertion(+)
include/drm/drm_modeset_lock.h +1 -0
@@ -34,6 +34,7 @@ struct drm_modeset_lock;
  * struct drm_modeset_acquire_ctx - locking context (see ww_acquire_ctx)
  * @ww_ctx: base acquire ctx
  * @contended: used internally for -EDEADLK handling
+ * @stack_depot: used for debugging contended locks & backoff
  * @locked: list of held locks
  * @trylock_only: trylock mode used in atomic contexts/panic notifiers
  * @interruptible: whether interruptible locking should be used.