Re: [PATCH] drm: drm_auth: Convert mutex usage to guard(mutex)

2025-05-26 Thread Thomas Zimmermann
Hi Am 22.05.25 um 20:28 schrieb André Almeida: Hi Thomas, Em 12/05/2025 03:52, Thomas Zimmermann escreveu: Hi Am 09.05.25 um 16:26 schrieb André Almeida: Replace open-coded mutex handling with cleanup.h guard(mutex). This simplifies the code and removes the "goto unlock" pattern. Tested wit

Re: [PATCH] drm: drm_auth: Convert mutex usage to guard(mutex)

2025-05-22 Thread André Almeida
Hi Thomas, Em 12/05/2025 03:52, Thomas Zimmermann escreveu: Hi Am 09.05.25 um 16:26 schrieb André Almeida: Replace open-coded mutex handling with cleanup.h guard(mutex). This simplifies the code and removes the "goto unlock" pattern. Tested with igt tests core_auth and core_setmaster. Signed

Re: [PATCH] drm: drm_auth: Convert mutex usage to guard(mutex)

2025-05-12 Thread André Almeida
Hi Thomas, Thanks for the feedback. Em 12/05/2025 03:52, Thomas Zimmermann escreveu: Hi Am 09.05.25 um 16:26 schrieb André Almeida: Replace open-coded mutex handling with cleanup.h guard(mutex). This simplifies the code and removes the "goto unlock" pattern. Tested with igt tests core_auth a

Re: [PATCH] drm: drm_auth: Convert mutex usage to guard(mutex)

2025-05-11 Thread Thomas Zimmermann
Hi Am 09.05.25 um 16:26 schrieb André Almeida: Replace open-coded mutex handling with cleanup.h guard(mutex). This simplifies the code and removes the "goto unlock" pattern. Tested with igt tests core_auth and core_setmaster. Signed-off-by: André Almeida Reviewed-by: Thomas Zimmermann but

[PATCH] drm: drm_auth: Convert mutex usage to guard(mutex)

2025-05-09 Thread André Almeida
Replace open-coded mutex handling with cleanup.h guard(mutex). This simplifies the code and removes the "goto unlock" pattern. Tested with igt tests core_auth and core_setmaster. Signed-off-by: André Almeida --- For more information about guard(mutex): https://www.kernel.org/doc/html/latest/cor