Skip to content

Commit c3e9144

Browse files
jnikulaChristianKoenigAMD
authored andcommitted
drm/file: fix client_name_lock kernel-doc warning
It's client_name_lock, not name_lock. Also unify style while at it. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Closes: https://lore.kernel.org/r/20241009172650.29169e6f@canb.auug.org.au Fixes: 56c594d ("drm: add DRM_SET_CLIENT_NAME ioctl") Reviewed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241009140300.1980746-1-jani.nikula@intel.com Signed-off-by: Christian König <christian.koenig@amd.com>
1 parent 02c50fa commit c3e9144

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

include/drm/drm_file.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,10 @@ struct drm_file {
395395
* Userspace-provided name; useful for accounting and debugging.
396396
*/
397397
const char *client_name;
398-
/** @name_lock: Protects @client_name. */
398+
399+
/**
400+
* @client_name_lock: Protects @client_name.
401+
*/
399402
struct mutex client_name_lock;
400403
};
401404

0 commit comments

Comments
 (0)