drm/file: fix client_name_lock kernel-doc warning
Subsystems (2)
PATCH 1/1 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 <[email protected]>
Fixes 56c594d8df64 ("drm: add DRM_SET_CLIENT_NAME ioctl")
Cc Tvrtko Ursulin <[email protected]>
Cc Dmitry Osipenko <[email protected]>
Cc Pierre-Eric Pelloux-Prayer <[email protected]>
Cc Christian König <[email protected]>
Signed-off-by Jani Nikula <[email protected]>
--- include/drm/drm_file.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
include/drm/drm_file.h +4 -1
@@ -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; };
Signature · 1 line
2.39.5
Quoted 19 lines · Jani Nikula
It's
client_name_lock, notname_lock. Also unify style while at it.Reported-by Stephen Rothwell <[email protected]>Fixes 56c594d8df64 ("drm: add DRM_SET_CLIENT_NAME ioctl")Cc Tvrtko Ursulin <[email protected]>Cc Dmitry Osipenko <[email protected]>Cc Pierre-Eric Pelloux-Prayer <[email protected]>Cc Christian König <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- include/drm/drm_file.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)include/drm/drm_file.h +0
-0
include/drm/drm_file.h struct drm_file { · line 403
Quoted 10 lines
include/drm/drm_file.h +4
-1@@ -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; };
Thanks for the quick fix! Please apply to misc-next
Reviewed-by Dmitry Osipenko <[email protected]>
Signature · 2 lines
Best regards, Dmitry
Am 09.10.24 um 16:23 schrieb Dmitry Osipenko:
Quoted 15 lines · Jani Nikula
Quoted 14 lines
It's
client_name_lock, notname_lock. Also unify style while at it.Reported-by Stephen Rothwell <[email protected]>Fixes 56c594d8df64 ("drm: add DRM_SET_CLIENT_NAME ioctl")Cc Tvrtko Ursulin <[email protected]>Cc Dmitry Osipenko <[email protected]>Cc Pierre-Eric Pelloux-Prayer <[email protected]>Cc Christian König <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- include/drm/drm_file.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Quoted 16 lines
Quoted 5 lines
include/drm/drm_file.h +0
-0include/drm/drm_file.h struct drm_file { · line 403
Quoted 10 lines
include/drm/drm_file.h +4
-1@@ -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; };Thanks for the quick fix! Please apply to misc-next
Done.
Christian.
Quoted 3 lines
Reviewed-by Dmitry Osipenko <[email protected]>