summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-10-12 09:17:30 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-10-14 01:25:50 +0300
commiteeb2fa0c97ba661f8b7fb210a1de10928b67a47b (patch)
tree3c194552a9b4ce732788d8486e2fa846bd1adae4 /drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
parent9faa6b0277fab4ab91db4d69bc47566fdfbae48b (diff)
downloadlinux-eeb2fa0c97ba661f8b7fb210a1de10928b67a47b.tar.xz
drm/amdgpu: potential NULL dereference in debugfs code
debugfs_create_file() returns NULL on error, it only returns error pointers if debugfs isn't enabled in the config and we checked for that earlier so it can't happen. Fixes: 4f4824b55650 ('drm/amd/amdgpu: Convert ring debugfs entries to binary') Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c')
0 files changed, 0 insertions, 0 deletions