diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-04-16 11:17:27 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-13 05:14:30 -0700 |
commit | 125ebdda23c3d9d4473e8b2591bc0fdaec931daa (patch) | |
tree | f56eabcde3ae9396fcb777e4b2a58010861f545d /net/lapb/lapb_subr.c | |
parent | 3020ad2c93aa8ba98b0b7dbbad997500308400e6 (diff) |
drm/radeon: Use drm_calloc_ab for CS relocs
commit b421ed15d2c3039eb724680e4de1e4b2bd196a9a upstream.
The number of relocs is passed in by userspace and can be large. It has
been observed to cause kcalloc failures in the wild.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions