Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp136216ybl; Thu, 9 Jan 2020 18:36:10 -0800 (PST) X-Google-Smtp-Source: APXvYqzXOD1bN5sJyVljBR75e40iy6gVRmFe9GKrXbCU4mS/v7jjlS3d+vnYnND4/8bMUiajjhsA X-Received: by 2002:a54:4e08:: with SMTP id a8mr471258oiy.77.1578623770037; Thu, 09 Jan 2020 18:36:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578623770; cv=none; d=google.com; s=arc-20160816; b=VJ+n9mmEeG9TCkTAm8kTSuCMp5ZBa42qbmHzUnb4yFq2GIHviAg5orYaxAdk8W5kNG TURM5CLvFC4RXanGwCxVDVaSd5SFn2ziHZ5+l3K9U1ILIzPtfDpI3JbzNMai22f25rvx x7sAMHJzmY3hOPlWznRxVuIg364+1MFZBsHFvFojkcHmm0P68TR8TzVtKOnoxZ2rzoW+ FVE8b7DHj4BS9JdtpmHYuKuTUA1e9nRtYS/tezxDQEK/9MO9TlWl6tYfganqLTe9ebxS Fmb4vsIdiMAosq4tS9AqJcpYYJx5YSrVyRzAjdwbmkqwL9n2/v6Q71YSPejChqUE/0S5 EltA== 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=YmwgSPpfXrRJF6/bn+DNKHihwfvvCm4Z8hjH2SEr3k4=; b=NKHiSDv5+j24g8NvZH0AMhj5pyTS5IwLeffZ9PShK7LpVemTnDFk6qwfy8rE675l8P tZ7o2PerKUqHLNyrNxlTaDYUNJJ8LeXlwJbzhWOokMqz2hsO0h/9JkirBFPDfPavRmID BgZMFEuecxuRRFSxTLxbpxld9uJ9TUDxUgoPEmYbiYlRWhx6YOMzb4mHI1E4TO6KLfYg kihgtYNVhW2RmGU/4uA+dnS70MTG3wOYsCAozVpRYE94B716NUTIeXJPRG1sjxAPsZoe BzFtM8Hss0aquDbH0gxhfSOX2C9zKXpRnv5EYovgjbdJRRV68EXXVATc1VoAp87kyi0l TUJg== 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 l16si303329otj.59.2020.01.09.18.35.58; Thu, 09 Jan 2020 18:36:10 -0800 (PST) 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 S1730889AbgAJCfF (ORCPT + 99 others); Thu, 9 Jan 2020 21:35:05 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:60728 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730764AbgAJCfF (ORCPT ); Thu, 9 Jan 2020 21:35:05 -0500 Received: from localhost (unknown [IPv6:2601:601:9f00:1c3::3d5]) (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 1BB40157363F6; Thu, 9 Jan 2020 18:35:04 -0800 (PST) Date: Thu, 09 Jan 2020 18:35:03 -0800 (PST) Message-Id: <20200109.183503.1012921424196803099.davem@davemloft.net> To: zhengdejin5@gmail.com Cc: peppe.cavallaro@st.com, alexandre.torgue@st.com, joabreu@synopsys.com, mcoquelin.stm32@gmail.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] net: stmmac: pci: remove the duplicate code of set phy_mask From: David Miller In-Reply-To: <20200108135649.6091-1-zhengdejin5@gmail.com> References: <20200108135649.6091-1-zhengdejin5@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]); Thu, 09 Jan 2020 18:35:04 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dejin Zheng Date: Wed, 8 Jan 2020 21:56:49 +0800 > All members of mdio_bus_data are cleared to 0 when it was obtained > by devm_kzalloc(). so It doesn't need to set phy_mask as 0 again. > > Signed-off-by: Dejin Zheng > --- > > Changes since v2: > Abandoned the other commits, now only this one commit is > in the patch set. > > Changes since v1: > adjust some commit comments. Applied to net-next, thanks.