Re: [PATCH next] drm/tests: Fix a test in drm_test_check_valid_clones()

2025-02-13 Thread Maxime Ripard
On Wed, 12 Feb 2025 18:24:09 +0300, Dan Carpenter wrote: > 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. > > Applied to misc/kernel.git (drm-misc-next). Thanks! Maxime

[PATCH next] drm/tests: Fix a test in drm_test_check_valid_clones()

2025-02-12 Thread Dan Carpenter
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: 88849f24e2ab ("drm/tests: Add test for drm_atomic_helper_check_modeset()") Signed-off-by: Dan Carpenter --- drivers/gpu/drm/tests/drm_atomic_state_