aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/df_v1_7.c
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2019-03-02 07:50:36 +0100
committerAlex Deucher <alexander.deucher@amd.com>2019-03-19 15:36:36 -0500
commit24bf582e27a8ac5ffab6c2f1b9541ebaeb250a3d (patch)
tree4cdf657427b82fdd0c423a1d32d29efc584c673a /drivers/gpu/drm/amd/amdgpu/df_v1_7.c
parentd38ca8f0f1a44c0ffe1cc746edf16b245e188ea5 (diff)
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 <Likun.Gao@amd.com> Reviewed-by: Likun Gao <Likun.Gao@amd.com> Acked-by: Huang Rui <ray.huang@amd.com> Signed-off-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/df_v1_7.c')
0 files changed, 0 insertions, 0 deletions