aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorkbuild test robot <[email protected]>2019-03-02 06:50:36 +0000
committerAlex Deucher <[email protected]>2019-03-19 20:36:36 +0000
commit24bf582e27a8ac5ffab6c2f1b9541ebaeb250a3d (patch)
tree4cdf657427b82fdd0c423a1d32d29efc584c673a /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/amdgpu: fix missing assignment of error return code to variable ret (diff)
downloadkernel-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