Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6768147ybh; Thu, 8 Aug 2019 05:26:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwWKHeXMkYBEWFdiIO04kHeCtJaHW1msuiQSX/+RW20BOa8bO8o2EKqkaz4Cb0wReaSiV9g X-Received: by 2002:aa7:8a97:: with SMTP id a23mr14993881pfc.117.1565267162078; Thu, 08 Aug 2019 05:26:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565267162; cv=none; d=google.com; s=arc-20160816; b=Oqtbt+bYoNUZcR5B/659mFOG8ED5ZhTRcgKTFoAoUIPqcuT93dGUukKOlU5O57j9mH 7cqSZ6wvJLC8RXmq+XdGUufLQcnjeygdyO1wsYmPSLYsVuvuGZ1/qcOAXE5H8LUpxDHP 2LQckYQu0PKsGushhAcvTmBuyHI84O7NaIXi2PM7amuialuSfclbzFC5igsNDxxqXUbq Qxwgw6YM5Fw+EX0h5SytZWTvUnAu1gCzBYEPnl8r92Y4xgP3FJpu6xe0KGZg9Z2EKMjg ifBX2rCI9z0B03VmeJuggQGMSobpYuvIf0FqK7c0Aqg9MIjDFJDEQ4rxCwrQMwUixQLN /Hvw== 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=TIOvvwZS1Rtd4pmeZJ2sPf5i3PjyRbA6hKykmDRFBVc=; b=z350hUC658v784RAUCLUacYLm5/H481wpCGroJkIFpCs4CQ/d1mqfslCMoQvU6izfA uqV3S+0D2DzUXgiLLwh/RyZ5CTq7X2V28F/WdWCeh2CZRUw7BmlUXPGxK4r1IsH6DE12 xlRmp/3hokFSs/3O7JejFpa++H/GfMyaQxJHfs7XWWlHel+hSi1AL3G6UV5KqKeLLdGR iA3vwt0O9UX6CpnJoQSj6wJpuWI92kbxoXe2k87VGMCbkk8+VfLlfNznGHwbqqA72JmM 5bMd/EBhTVe1h7hU8JPjrOm/em8W1Sh4XHx0FL4pZgbuN0iqQumWFow8NEQ8C7vlEGpw Zp4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZazE1taq; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y4si11576572plk.123.2019.08.08.05.25.45; Thu, 08 Aug 2019 05:26:02 -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=@kernel.org header.s=default header.b=ZazE1taq; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731782AbfHHMXl (ORCPT + 99 others); Thu, 8 Aug 2019 08:23:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:40700 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726285AbfHHMXl (ORCPT ); Thu, 8 Aug 2019 08:23:41 -0400 Received: from localhost (unknown [122.178.245.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CD18E2171F; Thu, 8 Aug 2019 12:23:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565267020; bh=pYsFBGP3kI4gJG4u1PJaSdrgvkRbRuJZQ/c/jwcwI2U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZazE1taqA2r421KmDZVzNqPA+bSG3IjqBr4e1e/giVkNuwVgb3NEchPhztqU6QYfi GPj2QapJuzXJNzKKXvtyEycNJFqG3H7dunkUvVt9cZ3HNVHFePggOQ1fy+IpY3o9Xq C7ImPSlFTWh+CA67rXnQjQ9wy3ouO6RYu2i/nPpo= Date: Thu, 8 Aug 2019 17:52:28 +0530 From: Vinod Koul To: Fuqian Huang Cc: Shawn Guo , Sascha Hauer , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 03/24] dmaengine: imx-sdma: Remove call to memset after dma_alloc_coherent Message-ID: <20190808122228.GP12733@vkoul-mobl.Dlink> References: <20190715031716.6328-1-huangfq.daxian@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190715031716.6328-1-huangfq.daxian@gmail.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15-07-19, 11:17, Fuqian Huang wrote: > In commit 518a2f1925c3 > ("dma-mapping: zero memory returned from dma_alloc_*"), > dma_alloc_coherent has already zeroed the memory. > So memset is not needed. Applied, thanks -- ~Vinod