diff options
| author | Shyam Saini <[email protected]> | 2017-01-19 21:45:34 +0000 |
|---|---|---|
| committer | Sinclair Yeh <[email protected]> | 2017-01-27 05:26:17 +0000 |
| commit | 5d25fde23b3176c7f94d2a992cb9762707d7c2a0 (patch) | |
| tree | 0a2398da4b68335d045d3ebd46145ddfac607eab /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/vmwgfx: Fix depth input into drm_mode_legacy_fb_format (diff) | |
| download | kernel-5d25fde23b3176c7f94d2a992cb9762707d7c2a0.tar.gz kernel-5d25fde23b3176c7f94d2a992cb9762707d7c2a0.zip | |
drm/vmwgfx: Use kmemdup instead of kmalloc and memcpy
When some other buffer is immediately copied into allocated region.
Replace calls to kmalloc followed by a memcpy with a direct
call to kmemdup.
Signed-off-by: Shyam Saini <[email protected]>
Reviewed-by: Sinclair Yeh <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
