aboutsummaryrefslogtreecommitdiff
path: root/rust/alloc/alloc.rs
diff options
context:
space:
mode:
authorChaitanya Dhere <chaitanya.dhere@amd.com>2024-04-04 14:34:04 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-04-16 21:24:38 -0400
commit0a571e8657c40047e6602466abfcb6514a391041 (patch)
tree3eab3bfa551aa9f9b3f8e9576b86bcc5fc0dd294 /rust/alloc/alloc.rs
parente730c585237eb11f61d3e6555bf47e41c72d0626 (diff)
drm/amd/display: Fix incorrect pointer assignment
[Why] Pointer initialization and assignment for dml2_options is not done correctly. While this works for some compilers, others give an error. [How] Modify dc_state_create code to correctly initialize the dml2_opt pointer and pass it to dml2_create. Also update the code with correct derefrence operations. Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Signed-off-by: Chaitanya Dhere <chaitanya.dhere@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/alloc/alloc.rs')
0 files changed, 0 insertions, 0 deletions