Skip to content
Commit d36f3e04 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Alex Deucher
Browse files

drm/amd/powerplay: avoid NULL pointer dereference



if (a == NULL || a->b == NULL)
leads to a NULL pointer dereference if a == NULL.

Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 887656f0
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