mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
drm/amdgpu_dm: tests: Fix wrong variable declaration after merge conflict
Commit2bcec01cf1("drm/amdgpu_dm: Convert to atomic_create_state") converted dm_test_plane_create_state_initializes_state() to call amdgpu_dm_plane_drm_plane_create_state(), which returns a struct drm_plane_state pointer stored in a new plane_state variable. However, the merge conflict resolution kept the old declaration (struct dm_plane_state *old_state) instead of replacing it with struct drm_plane_state *plane_state, leaving an unused variable with the wrong type. Fix the declaration to match what the conversion intended. Fixes:2bcec01cf1("drm/amdgpu_dm: Convert to atomic_create_state") Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patch.msgid.link/20260915101251.1711103-1-mripard@kernel.org Signed-off-by: Maxime Ripard <mripard@kernel.org>
This commit is contained in:
parent
3a4affc50a
commit
87882cd6de
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue