Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/locking: fix drm_modeset_acquire_ctx kernel-doc

The stack_depot member was added without kernel-doc, leading to below
warning. Fix it.

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

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: cd06ab2fd48f ("drm/locking: add backtrace for locking contended locks without backoff")
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://patchwork.freedesktop.org/patch/msgid/20220120094856.3004147-1-jani.nikula@intel.com

+1
+1
include/drm/drm_modeset_lock.h
··· 34 34 * struct drm_modeset_acquire_ctx - locking context (see ww_acquire_ctx) 35 35 * @ww_ctx: base acquire ctx 36 36 * @contended: used internally for -EDEADLK handling 37 + * @stack_depot: used internally for contention debugging 37 38 * @locked: list of held locks 38 39 * @trylock_only: trylock mode used in atomic contexts/panic notifiers 39 40 * @interruptible: whether interruptible locking should be used.