diff options
| author | Michel Dänzer <michel.daenzer@amd.com> | 2015-04-16 11:17:27 +0900 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2015-04-27 09:54:50 -0400 |
| commit | b421ed15d2c3039eb724680e4de1e4b2bd196a9a (patch) | |
| tree | 68721913ae096198b2fc65ffbcdcb501f900caa4 /lib/string_helpers.c | |
| parent | 59fd7e4b0b0769638b5162e56c28bbb027a118d3 (diff) | |
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 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
