Skip to content

Commit

Permalink
drm/file: fix client_name_lock kernel-doc warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jani Nikula authored and Christian König committed Oct 9, 2024
1 parent 02c50fa commit c3e9144
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/drm/drm_file.h
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,10 @@ struct drm_file {
* Userspace-provided name; useful for accounting and debugging.
*/
const char *client_name;
/** @name_lock: Protects @client_name. */

/**
* @client_name_lock: Protects @client_name.
*/
struct mutex client_name_lock;
};

Expand Down

0 comments on commit c3e9144

Please sign in to comment.