commit | 3b2c69328280278593e0cd87e83da51bbc748ce7 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Tue Jan 24 14:46:16 2017 +0530 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Jan 27 12:20:38 2017 -0500 |
tree | 47c0830e6e6d82aeee746b0c48e9546135c41042 | |
parent | 8ba28ac9f5cc36f91b64273b11d302e02bd77508 [diff] |
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>