Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6780958ybh; Thu, 8 Aug 2019 05:37:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkCKqNaQarbo2u06d9cdeA8hBKFyyEY0BMYHA0A2grgBU42iqxD/jybjhcczQs2TRdn8jA X-Received: by 2002:a17:902:e306:: with SMTP id cg6mr13519634plb.263.1565267878179; Thu, 08 Aug 2019 05:37:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565267878; cv=none; d=google.com; s=arc-20160816; b=qk2gNfzakwIp9RsxlsbmRDe969OtDtZ0XoNkpZSzveQ6sDIhgCwvrWAOrNHCic5/lf IGlJYpVClxEIA86QPo9CwoBLdffmpDvpUbVYXOQQttTJEMAyzHBDAp31OEcNzgQ6pbL2 jpwGfct/Yd0+nd6wGTNCXrqn+txKQF05DEUUXAj7IttVktkcRiGSmjZnlUyl+erw+zF8 MERjisQBoETInYRgA0CVz7cTr2pwkqnmCDlwi2rtfByleDg24VSsHHE7yCyEnpymuJvo Oy9aw1yh8uf5xNjV8y/ykl4OCgVR0jr8MMhFtKeLuD8QEicnKCPNUdStkbgW5FIHDChs Q9/g== 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=PkIbSLLcytnEoAqfHJlShoPvFusOjgChwwJKP9MB9OqKptuuYsmrdMisqSoBfAfFlf eNJfJNvW63YEmobjznU3IL5z3aXX+bp9N0J0fqeU6hZiNabtdqButuv0Cz/DJNLRPyz0 Se3aAmuxvcf5UAFN1v15in/on4JgjPUGCP/lVFcLt0DF8UXFg3d7lm5LpAZJF/a/s//3 O19SMfVuwUgTBA+Qb/YR3TuGiSPG9ob94xOPSS5HgGyAkYCCIchCmIYrbT4bfncrW00y DcN+BLwNWa4PbSR2PTNJXGk4ZH+4hoDh4IVMXY5THPFUOCANkPysPlIFThjr2vEKozbx /Atw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RsxOLcsI; 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 b7si54360254pfp.4.2019.08.08.05.37.42; Thu, 08 Aug 2019 05:37:58 -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=RsxOLcsI; 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 S1732281AbfHHMXx (ORCPT + 99 others); Thu, 8 Aug 2019 08:23:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:40884 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726285AbfHHMXw (ORCPT ); Thu, 8 Aug 2019 08:23:52 -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 1C6ED2171F; Thu, 8 Aug 2019 12:23:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565267031; bh=pYsFBGP3kI4gJG4u1PJaSdrgvkRbRuJZQ/c/jwcwI2U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RsxOLcsIRag7X9lY56IOqRlZ2V0Q6//0+WaDnwb3m3jeBSAOe3St/5HIHi2dRwaS5 y4Nd5WpZZE48ICQUYPDHqfaBHWUchP8OdyFBSoBHTiMCWa34ue6zE7Ni4imZ6qDJeh P8TsU1q2UPpRS6qdup4haXscQXlhUkK4IWSc3Gdo= Date: Thu, 8 Aug 2019 17:52:40 +0530 From: Vinod Koul To: Fuqian Huang Cc: Sinan Kaya , Andy Gross , David Brown , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 04/24] dmaengine: qcom_hidma: Remove call to memset after dmam_alloc_coherent Message-ID: <20190808122240.GQ12733@vkoul-mobl.Dlink> References: <20190715031723.6375-1-huangfq.daxian@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190715031723.6375-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