Unverified Commit 2b75feb3 authored by Louis Chauvet's avatar Louis Chauvet Committed by Maíra Canal
Browse files

drm/vkms: Suppress context imbalance detected by sparse warning



The functions `vkms_crtc_atomic_begin` and `vkms_crtc_atomic_flush` are
responsible for locking and unlocking a mutex, respectively. Add the
`__acquires` and `__releases` annotations to these functions to prevent
the associated sparse warning about context imbalance.

Signed-off-by: default avatarLouis Chauvet <louis.chauvet@bootlin.com>
Reviewed-by: default avatarJosé Expósito <jose.exposito89@gmail.com>
Signed-off-by: default avatarMaíra Canal <mcanal@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240912-vkms-warnings-v1-1-59f3e13ea8e5@bootlin.com
parent 6e5eb6dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment