Commit 50151b7f authored by Bob Zhou's avatar Bob Zhou Committed by Alex Deucher
Browse files

drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr



Check return value and conduct null pointer handling to avoid null pointer dereference.

Signed-off-by: default avatarBob Zhou <bob.zhou@amd.com>
Reviewed-by: default avatarTim Huang <Tim.Huang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 45bd39fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment