diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2016-08-21 20:21:27 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-23 13:48:05 -0400 |
commit | d36f3e048e1e81906c776760d70e06bce366ef65 (patch) | |
tree | ac764440d461fa11e6978f22015081f92767373b /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | 887656f0b7da0fdbb22740907c53cbc4aefee0ef (diff) |
drm/amd/powerplay: avoid NULL pointer dereference
if (a == NULL || a->b == NULL)
leads to a NULL pointer dereference if a == NULL.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions