diff options
author | 2017-01-24 14:46:16 +0530 | |
---|---|---|
committer | 2017-01-27 12:20:38 -0500 | |
commit | 3b2c69328280278593e0cd87e83da51bbc748ce7 (patch) | |
tree | 47c0830e6e6d82aeee746b0c48e9546135c41042 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/amd/amdgpu/amdgpu_ttm: Handle return NULL error from ioremap_nocache (diff) | |
download | linux-dev-3b2c69328280278593e0cd87e83da51bbc748ce7.tar.xz linux-dev-3b2c69328280278593e0cd87e83da51bbc748ce7.zip |
drm: radeon: radeon_ttm: Handle return NULL error from ioremap_nocache
Here, If ioremap_nocache will fail. It will return NULL.
Kernel can run into a NULL-pointer dereference.
This error check will avoid NULL pointer dereference.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions