Skip to content
Commit 6d10dc61 authored by Dan Carpenter's avatar Dan Carpenter Committed by Liviu Dudau
Browse files

drm/komeda: Potential error pointer dereference

We need to check whether drm_atomic_get_crtc_state() returns an error
pointer before dereferencing "crtc_st".

Fixes: 9e560309

 ("drm/komeda: Add komeda_plane/plane_helper_funcs")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatar"james qian wang (Arm Technology China)" <james.qian.wang@arm.com>
Signed-off-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
parent 7cb8bec2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment