Re: [PATCH v2 07/27] gpu: drm: remove memset after zalloc

From: Emil Velikov
Date: Mon Jul 01 2019 - 08:43:05 EST


Hi Fuqian,

On Fri, 28 Jun 2019 at 09:30, Fuqian Huang <huangfq.daxian@xxxxxxxxx> wrote:
>
> zalloc has already zeroed the memory.
> so memset is unneeded.
>
> Signed-off-by: Fuqian Huang <huangfq.daxian@xxxxxxxxx>
> ---
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | 2 --
> drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c | 2 --
> drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c | 2 --
> drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c | 2 --
> drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c | 2 --
> 5 files changed, 10 deletions(-)
>
Thanks for fixing these. One nit pick: the commit message should start
with "drm/amdgpu:" as you can see from git log.
With that:

Reviewed-by: Emil Velikov <emil.velikov@xxxxxxxxxxxxx>

-Emil