Commit 0c065e50 authored by Ma Jun's avatar Ma Jun Committed by Greg Kroah-Hartman
Browse files

drm/amdgpu/pm: Fix the null pointer dereference in apply_state_adjust_rules



[ Upstream commit d19fb100 ]

Check the pointer value to fix potential null pointer
dereference

Acked-by: default avatarYang <Wang&lt;kevinyang.wang@amd.com>
Signed-off-by: default avatarMa Jun <Jun.Ma2@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 56e84803
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment