Unverified 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: default avatarMaxime Ripard <mripard@kernel.org>
parent efc84f66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment