mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 12:24:18 +00:00
We need to check whether drm_atomic_get_crtc_state() returns an error
pointer before dereferencing "crtc_st".
Fixes: 9e56030941 ("drm/komeda: Add komeda_plane/plane_helper_funcs")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: "james qian wang (Arm Technology China)" <[email protected]>
Signed-off-by: Liviu Dudau <[email protected]>