Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4575590ybi; Mon, 15 Jul 2019 11:07:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxejfOvj8/A11HlzDrLx8lr6vob1YfcTVqxNgJyEuKW6lz7Flb6H29IjEshoHpP5//tE6uj X-Received: by 2002:a63:31cc:: with SMTP id x195mr17786045pgx.147.1563214041153; Mon, 15 Jul 2019 11:07:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563214041; cv=none; d=google.com; s=arc-20160816; b=srySg8gNBd8NKgnK6E9pA6vVR3xqtDeFivTH2q/JYoEksiqfy7M7Oac4ZV9MBQmAZC 8giOWpKwJ6qk0cbYizQBNO49p+ggpFlIeNGaGSRJ+AqIFnvA169Hd7o9G6rO8pOLSIOH 5964vaR4KztUzyKbMv4WF6bQp2ZK8L0CZIorcfShe8W8vUtMnHwSX3xOfkDcBd1Atvaf CnYizQivBQa1dwtmnHiOkdH/89F61rFUL9ephIOddvEsYr+dN69ZeZXmGTokgJN0jYvL pXZPrDgI26n7cosSwt/FvstSYctkBJbajSWm6MKud93eUM07J9LzUe6qDU6NNfKDNMH4 KkLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=tuQmuVddyHFLpjgtzr0cLixIuoLc51oE1DUnAomnSTo=; b=g7puz/mBdNAwTpS6a+kZs71h4mzqv5wq042Q+TyiGdw4KcbwtEIZ8k7YeLF+nXGvEN uPAGhSxg8y5HOPqUjrIoEFBEfbPvTxLOXiWxU+7sXqtEYalpndRbfE9RFUOSyRce1p4L J9VLA2fUdaJ2N3XgpLGTXI+BO1ClbuMPu7CBR46BX6klcNh7QruGP78mb4ySt1VVRLlD baOsgZSXXjtFOh1t31TL9nElPcIZPSEnGZhjP2pGv37fZO+cD9D5LuuIPbwvbPOwbzEn H+3DxDU9UDHg66hqY9Wp0WX0t1HuoGvU0+iypJbjfO0rG8awBwPcDmHJ/gE8NUP1IyYH jIxQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j190si9391293pge.92.2019.07.15.11.07.03; Mon, 15 Jul 2019 11:07:21 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730443AbfGOSGl (ORCPT + 99 others); Mon, 15 Jul 2019 14:06:41 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:40084 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729277AbfGOSGl (ORCPT ); Mon, 15 Jul 2019 14:06:41 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 8EC8514EB38BF; Mon, 15 Jul 2019 11:06:40 -0700 (PDT) Date: Mon, 15 Jul 2019 11:06:40 -0700 (PDT) Message-Id: <20190715.110640.763888902893759019.davem@davemloft.net> To: huangfq.daxian@gmail.com Cc: 3chas3@gmail.com, linux-atm-general@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 02/24] atm: idt77252: Remove call to memset after dma_alloc_coherent From: David Miller In-Reply-To: <20190715031709.6281-1-huangfq.daxian@gmail.com> References: <20190715031709.6281-1-huangfq.daxian@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 15 Jul 2019 11:06:40 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fuqian Huang Date: Mon, 15 Jul 2019 11:17:09 +0800 > In commit 518a2f1925c3 > ("dma-mapping: zero memory returned from dma_alloc_*"), > dma_alloc_coherent has already zeroed the memory. > So memset is not needed. > > Signed-off-by: Fuqian Huang Applied.