Skip to content
Unverified Commit 8c27cc5b authored by Xiyu Yang's avatar Xiyu Yang Committed by Inki Dae
Browse files

drm/exynos: Convert from atomic_t to refcount_t on g2d_cmdlist_userptr->refcount



refcount_t type and corresponding API can protect refcounters from
accidental underflow and overflow and further use-after-free situations.

Signed-off-by: default avatarXiyu Yang <xiyuyang19@fudan.edu.cn>
Signed-off-by: default avatarXin Tan <tanxin.ctf@gmail.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent b74a29fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment