Skip to content
Snippets Groups Projects
Verified Commit e5f5f7cc authored by Dan Carpenter's avatar Dan Carpenter Committed by Maxime Ripard
Browse files

drm/tests: Fix a test in drm_test_check_valid_clones()


The drm_atomic_get_crtc_state() function returns error pointers and not
NULL.  Update the check to check for error pointers as well as NULL.

Fixes: 88849f24 ("drm/tests: Add test for drm_atomic_helper_check_modeset()")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/c50f11c7-932c-47dc-b40f-4ada8b9b6679@stanley.mountain


Signed-off-by: Maxime Ripard's avatarMaxime Ripard <mripard@kernel.org>
parent efc84f66
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment