Skip to content
Commit 35c3c89a authored by Jiawei Gu's avatar Jiawei Gu Committed by Alex Deucher
Browse files

drm/amdgpu: fix potential NULL pointer when check_atom_bios() fails



Asic funcs pointer needs being checked whether is NULL. Because when
check_atom_bios() fails in req_init_data handshake, asic funcs pointer
is not initialized yet.

Signed-off-by: default avatarJiawei Gu <Jiawei.Gu@amd.com>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent a11d9ff3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment