diff options
| author | kbuild test robot <[email protected]> | 2019-03-02 06:50:36 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-03-19 20:36:36 +0000 |
| commit | 24bf582e27a8ac5ffab6c2f1b9541ebaeb250a3d (patch) | |
| tree | 4cdf657427b82fdd0c423a1d32d29efc584c673a /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/amdgpu: fix missing assignment of error return code to variable ret (diff) | |
| download | kernel-24bf582e27a8ac5ffab6c2f1b9541ebaeb250a3d.tar.gz kernel-24bf582e27a8ac5ffab6c2f1b9541ebaeb250a3d.zip | |
drm/amd/powerplay: fix memdup.cocci warnings
Simplify the code a bit by using kmemdup instead of kzalloc and memcpy.
Generated by: scripts/coccinelle/api/memdup.cocci
CC: Likun Gao <[email protected]>
Reviewed-by: Likun Gao <[email protected]>
Acked-by: Huang Rui <[email protected]>
Signed-off-by: kbuild test robot <[email protected]>
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
