diff options
author | 2016-10-12 09:17:30 +0300 | |
---|---|---|
committer | 2016-10-13 18:25:50 -0400 | |
commit | eeb2fa0c97ba661f8b7fb210a1de10928b67a47b (patch) | |
tree | 3c194552a9b4ce732788d8486e2fa846bd1adae4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/powerplay: fix static checker warnings in smu7_hwmgr.c (diff) | |
download | wireguard-linux-eeb2fa0c97ba661f8b7fb210a1de10928b67a47b.tar.xz wireguard-linux-eeb2fa0c97ba661f8b7fb210a1de10928b67a47b.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions