From 185189dc51a5c968ce35b0e1f2b529736e789c9c Mon Sep 17 00:00:00 2001 From: Zeyu Fan Date: Thu, 16 Feb 2017 18:34:50 -0500 Subject: [PATCH] drm/amd/display: Fix error where wrong payload size is given. Signed-off-by: Zeyu Fan Reviewed-by: Tony Cheng Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c index cd66941b2c59..4e9465b630d1 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c @@ -198,7 +198,7 @@ struct aux_payloads *dal_ddc_aux_payloads_create(struct dc_context *ctx, uint32_ return NULL; if (dal_vector_construct( - &payloads->payloads, ctx, count, sizeof(struct aux_payloads))) + &payloads->payloads, ctx, count, sizeof(struct aux_payload))) return payloads; dm_free(payloads); -- 2.30.2