]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/radeon: remove range check from *_gart_set_page
authorChristian König <christian.koenig@amd.com>
Wed, 4 Jun 2014 13:29:57 +0000 (15:29 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Jun 2014 02:06:51 +0000 (22:06 -0400)
commit7f90fc965023d72589a4e5fc02ac812e3a6ac809
tree187365b8157da56cd1928ff5d9e5b263f4e73d73
parent0986c1a55ca64b44ee126a2f719a6e9f28cbe0ed
drm/radeon: remove range check from *_gart_set_page

We never check the return value anyway and if the
index isn't valid would crash way before calling
the functions.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r300.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/rs400.c
drivers/gpu/drm/radeon/rs600.c