Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2076899ybi; Mon, 1 Jul 2019 05:50:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyeARP8d+p6JY085QlVuz8Dm6znaFhxhMf+Ld7i4C3ATcdU8OkHQXuyUZz4JtjqpDzzrAca X-Received: by 2002:a17:90a:8c06:: with SMTP id a6mr31750785pjo.45.1561985429504; Mon, 01 Jul 2019 05:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561985429; cv=none; d=google.com; s=arc-20160816; b=DtTRLF1BHuua2v57ltvxZWc2WLdsu+S/xXEdVzUqlfF3SJHMYSzTHP1RBljxMNsdMg aonstJMeP88h7Eof4e26gMTfzJ9vYbdM6rj1h/HhYdv8+JgfjXRIR/iwxbMVg2+nkncj dXiaGsdhfUsX6RDTgdM6oF25IkugZIRDjiWl5ScGkJdmkm23p1GN3gx6b9UWLj+5xhkk k45Iob3yFLvYh8viOYbDAXwaSjFfCFIqY1jbGUBGU8lNdXUpEHdF/v1MaONwRzgMCNZ6 eAvv9mb1JOI5lTnowX7uo4EqGtCfp8UQPQK+HHEjeGYmbAJ2GqBVhwFVxDhJXOnqVgU5 BpnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=y3jn62uRqDDtMfGSPLqczsPcfH+yK4fZYdwDPBUJ9p0=; b=de3ztrY2PaxdDO4uIho4uFqA2ZF5d/mYs5HGM/kYCij2YwXp2ILdax5vqTFiP8ZW08 69kFZ0tCtvWIAxfHQjF03FMjr+QDcqMAlzxCtmCwF/cywMiP9C+iOfL+syUwne+SWYEe Mow/ueaQP73Z59wLTGvvwV3e61HKj7nkZGQDmuA60yc0cvEt0whcsWIhGY3o1i/gE7zD uMiREicx5wvhPWI+W+w6OlwcA1bzP04VTIS28OzJx+ulmVJ5/tXkmx5T0azyDwMbSdbq JURE9HPvR1ZDIysqI0Zibrhb/WqktunOaftzTgNGMUkUSruF8jEDWJeirLkNgpY8Wj6Y emOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GbhLpV+A; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m14si10431754pgb.335.2019.07.01.05.50.12; Mon, 01 Jul 2019 05:50:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GbhLpV+A; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727472AbfGAMnD (ORCPT + 99 others); Mon, 1 Jul 2019 08:43:03 -0400 Received: from mail-ua1-f65.google.com ([209.85.222.65]:42231 "EHLO mail-ua1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727249AbfGAMnD (ORCPT ); Mon, 1 Jul 2019 08:43:03 -0400 Received: by mail-ua1-f65.google.com with SMTP id a97so4998643uaa.9 for ; Mon, 01 Jul 2019 05:43:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=y3jn62uRqDDtMfGSPLqczsPcfH+yK4fZYdwDPBUJ9p0=; b=GbhLpV+AH96F+DztaPdUMOLia9bsRPFhOxnwM5nfLyLBUGwObVkdKGjNH7SkQD0ihj 8IXr9UnczQV8dtTOevWQmMRTbPEgDWDyadWBrApGXxqfmaFD7h3geJEEi7Pgqvkz9A8G dkTlL+49nwq6ftLE1XbrSX5iEICSnJcN+goRsX2ofg5teUgDj2psMTlamkNgVqHuPxKK fdBtVbWRk49W1eyi0HLil9RaroAxwff1/c3D/Bufslwc07bSFN1fDU6DDTTW6DSghykj llMQIGnbGQsTSf3IzN3OJoz1a2M+pf2iYXb0twY5ZuRlUEWaZV4CnjUPTBiSz7XYajT4 KI4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=y3jn62uRqDDtMfGSPLqczsPcfH+yK4fZYdwDPBUJ9p0=; b=rnmgllAqYgwwrm5Hk8Yl6s6ldhhfWIQXHRPW1cUmBUa6PVjZa9wBjYGNXlatmkpKGQ yKF8bGspOlfHuUBgxXVHEeJRy2oB6FZlMwd8kHY3gTZw84ECAhxDR7YmSi64TtXBK7WT pXzyEClpFyqCtAiQ0OiIG5h5loJfVpZjeQUFJGrAPnpgo/vGm5sFhtapdc5VOevZy+40 Lesb7NMfkFNp/BHMALjvJN/CQtjSI7+5auXw4k+MfbXkPmJ2qIXAl+TPwsJ9shW3qSwi rQBXyuC57IjPU3OHUwZgBITq9OYgcu7dUOCNQ85aCqTwzJMn3eLMae+IIPYrmfXEQIRf /5UA== X-Gm-Message-State: APjAAAUv7j+ZRdJmg5GKISNDe13PssFVctk7Lif/Du3Dl8a/pSxkzvPB V9KxQVQ64NtjXBmKOm0RJ+e8B9xAw7qCTZcWW/qKHQkk X-Received: by 2002:ab0:2556:: with SMTP id l22mr8965354uan.46.1561984982144; Mon, 01 Jul 2019 05:43:02 -0700 (PDT) MIME-Version: 1.0 References: <20190628024700.15141-1-huangfq.daxian@gmail.com> In-Reply-To: <20190628024700.15141-1-huangfq.daxian@gmail.com> From: Emil Velikov Date: Mon, 1 Jul 2019 13:43:16 +0100 Message-ID: Subject: Re: [PATCH v2 07/27] gpu: drm: remove memset after zalloc To: Fuqian Huang Cc: Leo Li , Rex Zhu , David Airlie , "Linux-Kernel@Vger. Kernel. Org" , amd-gfx mailing list , Alex Deucher , Huang Rui , ML dri-devel , David Francis , Colin Ian King , Evan Quan , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Fuqian, On Fri, 28 Jun 2019 at 09:30, Fuqian Huang wrote: > > zalloc has already zeroed the memory. > so memset is unneeded. > > Signed-off-by: Fuqian Huang > --- > 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