linux_dsm_epyc7002/drivers/gpu/drm/amd
Arvind Yadav 8ba28ac9f5 drm/amd/amdgpu/amdgpu_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.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-01-27 12:20:38 -05:00
..
acp drm/amd: add Kconfig dependency for ACP on DRM_AMDGPU 2016-05-25 09:44:15 -04:00
amdgpu drm/amd/amdgpu/amdgpu_ttm: Handle return NULL error from ioremap_nocache 2017-01-27 12:20:38 -05:00
amdkfd drm/amdkfd: fix improper return value on error 2017-01-16 17:34:47 +02:00
include drm/amdgpu: extend profiling mode. 2017-01-27 11:13:14 -05:00
powerplay drm/amd/powerplay: fix misspelling in header guard 2017-01-27 12:20:35 -05:00
scheduler drm/virtio: fix busid in a different way, allocate more vbufs. 2016-11-30 14:18:51 +10:00