Commit 2ac9deb7 authored by Bob Zhou's avatar Bob Zhou Committed by Greg Kroah-Hartman
Browse files

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



commit 50151b7f upstream.

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarMukul Sikka <mukul.sikka@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3fd11fe4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment