]> www.infradead.org Git - users/hch/configfs.git/commit
Revert "drm/amd/display: Fix incorrect pointer assignment"
authorJoshua Aberback <joshua.aberback@amd.com>
Wed, 10 Apr 2024 20:25:41 +0000 (16:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Apr 2024 13:47:17 +0000 (09:47 -0400)
commit0c9c0674f81add3edb2bb992b3e89be8a44f03db
tree6d8381515e3a637af84567b8d0ba3a3d772ca849
parentdacb68ca947921e8ce533231d21cb50a3c878179
Revert "drm/amd/display: Fix incorrect pointer assignment"

This reverts commit 0a571e8657c40047e6602466abfcb6514a391041.

[Why]
The change being reverted incorrectly assumes that a pointer type was
intended, however copying to a new structure is correct. As well, there
is no compiler error, it was instead an error in the testing framework
being used.

Reviewed-by: Chaitanya Dhere <chaitanya.dhere@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_state.c