Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2337773ybg; Thu, 30 Jul 2020 17:42:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2JxNq80F7D2j3SdWNdu7gc8SLZ49U07aBypA/QNKCN49hNZYdGW7MgQ4Fox/s2PbLBftX X-Received: by 2002:a17:906:c056:: with SMTP id bm22mr1730279ejb.444.1596156153368; Thu, 30 Jul 2020 17:42:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596156153; cv=none; d=google.com; s=arc-20160816; b=RvZsHs6o5KT6gDOwBV5Vnm571GlBKdIcw1415WPucq6pQplP7RlNDbYIqg/mPCbAnV yWcxLZSc9PI7GqEfNmXfaIQ+cOmXkFXT/MwTWMtR2ugVKi3ZMMQd6owplMt8n6HjlGgY jk9PHmCSlAxMgFClCUjjNotiboCA5cI46IT+I27Hr5KWoReC+XxVfvA2buRTCbwCN77b R/hGF2BwgwplPO6W7kJzvdO8PXzGNNoROn3L1+ldogirSsiuRLFPM9DqjVconDomPmvj 7bKP0MNnIjGykTQR8LmYAyWlorrxoZYSvqe93iZclcr5Y7dM+2/U4jEkf5MqZApDZ9GF SXMQ== 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=e6OZv+yejkNnEpWF0mv1+qUZ4iRDJ+i4Ukogel5/IOQ=; b=XBECXQsqH5zPxXdPJrR9yP4FR9B32Uo4HWeBoKxKq3PTU647/+K9+xO9GeCr4lNuKM ADyE23C8gCsRkAfXp8LrB6AGajPQq7z0L0hlSexVaZmTk6ZORYJ9kGTmRV+mGlT40DDG BCvQzeYGJ14kNGg8+pR1/6sD3pmPDaLIu1d37kgZkMPZgPFZ4rZv6hkMILT5ZlRD+dat SFxsSSr/G/hlyiz/UNzJ3HtkRdD0y11AaHN58x5IykD+zfVgsDHzjEfl5P14aBUHLM4+ Gu/iEOO+qfBr9LAqjttmwxtiCWUFj77XDdqI8mS2zNxNZgtTIOOXvFDniTqNdntidCS0 0sNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d7si4455921edp.94.2020.07.30.17.42.06; Thu, 30 Jul 2020 17:42:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731013AbgGaAlZ (ORCPT + 99 others); Thu, 30 Jul 2020 20:41:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730915AbgGaAlZ (ORCPT ); Thu, 30 Jul 2020 20:41:25 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5C69C061574; Thu, 30 Jul 2020 17:41:24 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477:9e51:a893:b0fe:602a]) (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 53C2E126C48CE; Thu, 30 Jul 2020 17:24:39 -0700 (PDT) Date: Thu, 30 Jul 2020 17:41:24 -0700 (PDT) Message-Id: <20200730.174124.1077558881160047416.davem@davemloft.net> To: liheng40@huawei.com Cc: michael.chan@broadcom.com, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] bnxt_en: Remove superfluous memset() From: David Miller In-Reply-To: <1596091430-19486-1-git-send-email-liheng40@huawei.com> References: <1596091430-19486-1-git-send-email-liheng40@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.3 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]); Thu, 30 Jul 2020 17:24:39 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Li Heng Date: Thu, 30 Jul 2020 14:43:50 +0800 > Fixes coccicheck warning: > > ./drivers/net/ethernet/broadcom/bnxt/bnxt.c:3730:19-37: WARNING: > dma_alloc_coherent use in stats -> hw_stats already zeroes out > memory, so memset is not needed > > dma_alloc_coherent use in status already zeroes out memory, > so memset is not needed > > Reported-by: Hulk Robot > Signed-off-by: Li Heng Applied.