Skip to content
Commit 0c3601a2 authored by Cong Liu's avatar Cong Liu Committed by Alex Deucher
Browse files

drm/amd/display: Fix null pointer dereference in error message



This patch fixes a null pointer dereference in the error message that is
printed when the Display Core (DC) fails to initialize. The original
message includes the DC version number, which is undefined if the DC is
not initialized.

Fixes: 9788d087 ("drm/amd/display: improve the message printed when loading DC")
Signed-off-by: default avatarCong Liu <liucong2@kylinos.cn>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 55434013
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment