diff options
| author | Noralf Trønnes <[email protected]> | 2018-11-21 19:02:15 +0100 |
|---|---|---|
| committer | Noralf Trønnes <[email protected]> | 2018-11-22 15:44:05 +0100 |
| commit | 10fdb7d2ad4244c668f33706f98d019795fc63c8 (patch) | |
| tree | fb56dde853ec48166eaf1c395754a770c90c2dd3 /tools/perf/scripts/python | |
| parent | 7b24eec754ba0f0f794ab09413dcde2585b4a84b (diff) | |
drm/prime: Fix drm_gem_prime_mmap() stack use
drivers/gpu/drm/drm_prime.c: In function 'drm_gem_prime_mmap':
>> drivers/gpu/drm/drm_prime.c:688:1: warning: the frame size of 1592 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Fix by allocating on the heap.
Fixes: 7698799f9554 ("drm/prime: Add drm_gem_prime_mmap()")
Reported-by: kbuild test robot <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Christian König <[email protected]>
Signed-off-by: Noralf Trønnes <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions