Commit 7a2464fa authored by Yang Yingliang's avatar Yang Yingliang Committed by Alex Deucher
Browse files

drm/radeon: check the alloc_workqueue return value in radeon_crtc_init()



check the alloc_workqueue return value in radeon_crtc_init()
to avoid null-ptr-deref.

Fixes: fa7f517c ("drm/radeon: rework page flip handling v4")
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 04a71f11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment