From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05575C433FF for ; Thu, 8 Aug 2019 12:23:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CBDC321881 for ; Thu, 8 Aug 2019 12:23:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="riJga8oT"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZazE1taq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CBDC321881 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rCzB6y+ToWZ1yNSHy4k9rIuEpUHub2SsqwjesMaQS0c=; b=riJga8oT20gGpr BK/1Ny8V9jRCZIA1ZPdHzgrZhT7c+a11qxVwGrMGEFeUfWWw+PTDRrr/B22dKtd6Ph14C9AoMuaui 3Of6AEL+hf9RT42eiiEjpPGDLy968uc/qlEO4iS1Sb9p/QzuZDnrprYK7HhkThCSCpwFswWfCJ1n8 3F24k0QcK9mp5epmP4rtsvEPed3CKtWP/nk84xbuhtd4C98amt30iZBkiAl3sn8NsEa97Pj9xklPS qgdm1LZ85xY89Bx7fY5BtJRl9+pKTkJuaXAvUorKo0A0CXfm9meZqFEOqBdeW8ApLA6R4JKJm9PC+ r3CkGTfx2eKZjzMKbPwA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hvhSL-0008RU-DW; Thu, 08 Aug 2019 12:23:45 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hvhSH-0008R0-MZ for linux-arm-kernel@lists.infradead.org; Thu, 08 Aug 2019 12:23:42 +0000 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 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-Disposition: inline In-Reply-To: <20190715031716.6328-1-huangfq.daxian@gmail.com> User-Agent: Mutt/1.11.3 (2019-02-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190808_052341_756251_5C1F0589 X-CRM114-Status: UNSURE ( 7.94 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dmaengine@vger.kernel.org, Sascha Hauer , Shawn Guo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel