diff options
| author | 2016-05-19 16:45:27 +0530 | |
|---|---|---|
| committer | 2016-05-19 11:00:07 -0400 | |
| commit | 761de5f9da8306c80c75883e0cbaa78f0244c1a0 (patch) | |
| tree | b6c8909015ca2ca4ea44db6760a5c3ed25404ce4 /scripts/basic | |
| parent | drm/amd/powerplay: fix bugs of checking if dpm is running on Tonga (diff) | |
drm/amd/powerplay/hwmgr: use kmemdup
Use kmemdup when some other buffer is immediately copied into allocated
region. It replaces call to allocation followed by memcpy, by a single
call to kmemdup.
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
