RE: [PATCH] drm/amd/powerplay: fix memdup.cocci warnings

2019-03-04 Thread Huang, Ray
; Huang, Ray ; amd- > g...@lists.freedesktop.org; kbuild test robot ; dri- > de...@lists.freedesktop.org; kbuild-...@01.org > Subject: [PATCH] drm/amd/powerplay: fix memdup.cocci warnings > > From: kbuild test robot > > Simplify the code a bit by using kmemdup instead of kzalloc and memc

RE: [PATCH] drm/amd/powerplay: fix memdup.cocci warnings

2019-03-03 Thread Gao, Likun
robot ; dri-devel@lists.freedesktop.org; kbuild-...@01.org Subject: [PATCH] drm/amd/powerplay: fix memdup.cocci warnings From: kbuild test robot Simplify the code a bit by using kmemdup instead of kzalloc and memcpy. Generated by: scripts/coccinelle/api/memdup.cocci Fixes: 76760fe3c00d (&quo

[PATCH] drm/amd/powerplay: fix memdup.cocci warnings

2019-03-01 Thread Julia Lawall
From: kbuild test robot Simplify the code a bit by using kmemdup instead of kzalloc and memcpy. Generated by: scripts/coccinelle/api/memdup.cocci Fixes: 76760fe3c00d ("drm/amd/powerplay: add function to store overdrive information for smu11") CC: Likun Gao Signed-off-by: kbuild test robot