Skip to content

Commit f3a8088

Browse files
rddunlapdanvet
authored andcommitted
drm: fix drm_modeset_lock.h kernel-doc notation
Fix drm kernel-doc notation to squelch these warnings: Warning(..//include/drm/drm_modeset_lock.h:41): cannot understand function prototype: 'struct drm_modeset_acquire_ctx ' Warning(..//include/drm/drm_modeset_lock.h:66): cannot understand function prototype: 'struct drm_modeset_lock ' Need to include the keyword 'struct' for structure descriptions. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
1 parent edbaae5 commit f3a8088

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎include/drm/drm_modeset_lock.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
struct drm_modeset_lock;
3030

3131
/**
32-
* drm_modeset_acquire_ctx - locking context (see ww_acquire_ctx)
32+
* struct drm_modeset_acquire_ctx - locking context (see ww_acquire_ctx)
3333
* @ww_ctx: base acquire ctx
3434
* @contended: used internally for -EDEADLK handling
3535
* @locked: list of held locks
@@ -61,7 +61,7 @@ struct drm_modeset_acquire_ctx {
6161
};
6262

6363
/**
64-
* drm_modeset_lock - used for locking modeset resources.
64+
* struct drm_modeset_lock - used for locking modeset resources.
6565
* @mutex: resource locking
6666
* @head: used to hold it's place on state->locked list when
6767
* part of an atomic update

0 commit comments

Comments
 (0)