Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4088300ybi; Mon, 15 Jul 2019 03:41:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2JWLSHM7S71fewZAndLa9UBiL6StVxRVsL66y9YY+2+oSTD3oTp/Lx06kPdhU4fNrV2EU X-Received: by 2002:a65:5a42:: with SMTP id z2mr26733954pgs.421.1563187276906; Mon, 15 Jul 2019 03:41:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563187276; cv=none; d=google.com; s=arc-20160816; b=bpXGxyFhW3pJ7ffYM3hTrR0jJtOPUdUqFsKpcOoiZfvRTyicKsepxz7SVxkCWMTCyT g/pnNAS4ylnb1odk40ohV6g3K8k+w0TcNKWoWm9/kdlyy6t0WystAFqCxkCHfcdR/tiO f4mZI5gknZCH8lWf6kD2qI2FgK9fugX1ggP1opvzYE54jpyL5VOonjfm68/KMQtKgsZa EXaWfZpUB4jTPAYm6SDFT6oGL8klVG/gmEOHvZru51ufb317/yJOUseL2MAPhYA1MwGK zwfiHyj+YCJDXChDwGfYgf+EqxZJoe9oUjEVkqi7dwi/U/7QtyyAfyQvO47tldDeUVG3 FUJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=OLhOlGy/Zpqk6ycbhGl95GCnRY0eR5mykg/94zkQXyM=; b=f3iuQU7u/QfkgSGCtXU89kqBXCNO08J/1CxWX1XX3zSR6U5gkznbnUVFTCvPVLUWet aLetniiugipvC33BVV/bI6Bk2PkaeAn92kP+MS27zG9w3CtLvvRCCFvUyQT0TbeEPUuw Uxubu8TRm5y+Yx0vWkk3awPAkg+nMhracrc1z8XipPOev9MZvN378jHqqpwLUEszeyd1 V5INXvsH8Sexsp76n58nQN2qBcgZvF1DVAaFb7NlRVMwdSlu2oHHm3up2iiMNwc8n8rT PgQSe47wXcFgJ2Gd0yEei1o5c2i5D7jPVe0+C8CkhG3ZCY6KOI1qY0h+GX2qcsQk+vwj eMtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="U/68ct6Q"; 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 h68si15590263plb.281.2019.07.15.03.40.57; Mon, 15 Jul 2019 03:41:16 -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="U/68ct6Q"; 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 S1729674AbfGOKkZ (ORCPT + 99 others); Mon, 15 Jul 2019 06:40:25 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:50672 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729452AbfGOKkY (ORCPT ); Mon, 15 Jul 2019 06:40:24 -0400 Received: by mail-wm1-f68.google.com with SMTP id v15so14651232wml.0 for ; Mon, 15 Jul 2019 03:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=OLhOlGy/Zpqk6ycbhGl95GCnRY0eR5mykg/94zkQXyM=; b=U/68ct6QI4cClrqDBJmUuHunt/bg7Eh4NWXxIK1SZh1Pct9mlDieZnhhyXUDkdTiMo xwZ5DZv4rGnkwvCZoErPIwjqKBjEa3vYL/k+jmjni4t3FKK/w/DCKUF2Z6+4wnekTco5 ICKzJxf7I3hOwcglNlrZw2CpBPvJqF+tjL568qKQr1flPxkdLSCMP7jSDYqgWL6Kl8ds ZMulunacwg1naNMsspmMzqHf29PGhqan6ls1G2ZHgbqylCBYXA9TzSsXs/5Khwouv/tF 74+NRsRAotsQ+tGtwEAIeMu0WM8lCJB+ksyGYuUsUxZEjbBVvGNy+Axn64dS1Xqi9hG+ 7DMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=OLhOlGy/Zpqk6ycbhGl95GCnRY0eR5mykg/94zkQXyM=; b=XCKieUM9A2yBO3gQ9HOXhYPE7MJ3b3h4l8SGUD3jvhlX2Tyf5dhj71UDb6dCqM/ofF GyUCncjAkst9J2PNs+IdXN+bijgqzpo5pt9nUmD3am6deR7e53Enh9KhCBZNN7E/HUDL 78Ti3kSR37nJRy6ZyvqQ4qNQ04O4qo8Wbi/56u58GF5V8qv8guyP3uoj+CHtXHu8P9Qy SsAKP62s2XEWUE0Lmb2Tf61dg/Bu1WHeOkVgymaTD/dE5TlStYiX+HKhO/T/cprVfVEK e2rsVVYXEpiF3AJmtZLGMvxLmP4wSnDgDu5ovNCKL/jpDzJ3auBwKLgW8Vr32PoDa52H nmCw== X-Gm-Message-State: APjAAAW5+pevnzfm+csc7sTmDcSeL19xePgX6fWun6dBSa8WahiP5zQs ZBuUhCrTpb5skEVZEggPavY= X-Received: by 2002:a1c:9e90:: with SMTP id h138mr25059180wme.67.1563187222360; Mon, 15 Jul 2019 03:40:22 -0700 (PDT) Received: from arch-x1c3 ([2a00:5f00:102:0:9665:9cff:feee:aa4d]) by smtp.gmail.com with ESMTPSA id 5sm16132908wmg.42.2019.07.15.03.40.21 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 15 Jul 2019 03:40:21 -0700 (PDT) Date: Mon, 15 Jul 2019 11:40:20 +0100 From: Emil Velikov To: Fuqian Huang Cc: Leo Li , Rex Zhu , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , Evan Quan , Christian =?iso-8859-1?Q?K=F6nig?= Subject: Re: [PATCH v3 05/24] drm/amdgpu: remove memset after kzalloc Message-ID: <20190715104020.GB20839@arch-x1c3> References: <20190715031731.6421-1-huangfq.daxian@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190715031731.6421-1-huangfq.daxian@gmail.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/07/15, Fuqian Huang wrote: > kzalloc has already zeroed the memory during the allocation. > So memset is unneeded. > > Signed-off-by: Fuqian Huang > --- > Changes in v3: > - Fix subject prefix: gpu/drm -> drm/amdgpu > Reviewed-by: Emil Velikov -Emil