diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-04-16 04:17:27 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-04-27 15:54:50 +0200 |
commit | b421ed15d2c3039eb724680e4de1e4b2bd196a9a (patch) | |
tree | 68721913ae096198b2fc65ffbcdcb501f900caa4 /fs/block_dev.c | |
parent | Merge tag 'drm-intel-next-fixes-2015-04-25' of git://anongit.freedesktop.org/... (diff) | |
download | linux-b421ed15d2c3039eb724680e4de1e4b2bd196a9a.tar.xz linux-b421ed15d2c3039eb724680e4de1e4b2bd196a9a.zip |
drm/radeon: Use drm_calloc_ab for CS relocs
The number of relocs is passed in by userspace and can be large. It has
been observed to cause kcalloc failures in the wild.
Cc: stable@vger.kernel.org
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions