Skip to content
Commit e5285ac8 authored by Tian Tao's avatar Tian Tao Committed by Alex Deucher
Browse files

drm/amd/pm: Use kmemdup instead of kmalloc and memcpy



Fixes coccicheck warning:
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_processpptables.c:255:
36-43: WARNING opportunity for kmemdup

Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 03cc904c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment