[PATCH v2] drm: drm/drm_file.h: fix a kernel-doc typo

Randy Dunlap rdunlap at infradead.org
Sun Apr 3 23:10:40 UTC 2022


Fix a build warning from 'make htmldocs' by correcting the lock name
in the kernel-doc comment.

include/drm/drm_file.h:369: warning: Function parameter or member 'master_lookup_lock' not described in 'drm_file'

Signed-off-by: Randy Dunlap <rdunlap at infradead.org>
Cc: David Airlie <airlied at linux.ie>
Cc: Daniel Vetter <daniel at ffwll.ch>
Cc: dri-devel at lists.freedesktop.org
Reviewed-by: Simon Ser <contact at emersion.fr>
---
v2: rebase/resend

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

--- linux-next-20220401.orig/include/drm/drm_file.h
+++ linux-next-20220401/include/drm/drm_file.h
@@ -248,7 +248,7 @@ struct drm_file {
 	 */
 	struct drm_master *master;
 
-	/** @master_lock: Serializes @master. */
+	/** @master_lookup_lock: Serializes @master. */
 	spinlock_t master_lookup_lock;
 
 	/** @pid: Process that opened this file. */


More information about the dri-devel mailing list