From: Rodrigo Siqueira <Rodrigo.Siqueira@xxxxxxx> We recently introduced a commit that caused a compilation warning because we tried to print a struct as an unsigned int. This commit address this issue by adding the missing field. Fixes: "drm/amd/display: add system info table log" Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@xxxxxxx> Acked-by: Solomon Chiu <solomon.chiu@xxxxxxx> Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@xxxxxxx> Tested-by: Daniel Wheeler <daniel.wheeler@xxxxxxx> --- drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c index c2a5ab3e5f2f..09fbb7ad5362 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c +++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c @@ -2079,7 +2079,7 @@ static enum bp_result bios_parser_get_encoder_cap_info( record = get_encoder_cap_record(bp, object); if (!record) return BP_RESULT_NORECORD; - DC_LOG_BIOS("record->encodercaps 0x%x for object_id 0x%x", record->encodercaps, object_id); + DC_LOG_BIOS("record->encodercaps 0x%x for object_id 0x%x", record->encodercaps, object_id.id); info->DP_HBR2_CAP = (record->encodercaps & ATOM_ENCODER_CAP_RECORD_HBR2) ? 1 : 0; @@ -2961,10 +2961,10 @@ static enum bp_result construct_integrated_info( i, info->ext_disp_conn_info.path[i].device_tag, info->ext_disp_conn_info.path[i].device_acpi_enum, - info->ext_disp_conn_info.path[i].device_connector_id, + info->ext_disp_conn_info.path[i].device_connector_id.id, info->ext_disp_conn_info.path[i].ext_aux_ddc_lut_index, info->ext_disp_conn_info.path[i].ext_hpd_pin_lut_index, - info->ext_disp_conn_info.path[i].ext_encoder_obj_id, + info->ext_disp_conn_info.path[i].ext_encoder_obj_id.id, info->ext_disp_conn_info.path[i].caps ); } -- 2.25.1