Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4019323ybl; Fri, 20 Dec 2019 21:30:37 -0800 (PST) X-Google-Smtp-Source: APXvYqz0Y4fy9loVIWTGJlEtTxma2rURdOGiVQS6sivSFCVcDT+771tfo/VooU0D5bFcpAPKtGvO X-Received: by 2002:a9d:222f:: with SMTP id o44mr6426714ota.51.1576906237569; Fri, 20 Dec 2019 21:30:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576906237; cv=none; d=google.com; s=arc-20160816; b=oRQw99kkZRpOE2Pl10oUjGnMwJ9T/SiBJVr67hMfK9YjNekA7pALDCHF67sUUfzftJ gNvFb01eoPdv3mGWO4hrOB1dJG03sbPgepBYgh0qijt+8sNCGTSbaUbJ1v3i7/JbTBzx 2YciuAHkg65Pp2w6IWBAUgKQ2o1H+KqpqrWmVqtnqYtdoKi8BIgtkHYUgg4WWoqfUEpX g0daBqxK9kWfIh74f+zaX6LMcT1pCjyQWlBMhxfVqVK/qiue4TqPZL4ghqtbTYY5RRjP YDz1gRWMwfwJq645A64io/wrYZn6kI4Nh0KuboGd1/0kcadHt3azeU4n/J3UdShSmsHM uHSA== 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=WnS5jDy+DiySY9uawT9k0pK3TF+WbJ/CVhnaezcVG5E=; b=do4NWvX+8mTU4OQLG5PUMtB46j18f9Takcgv01rGoR+0wpBr1u6EHk1mixz6cpJSBI zm5VvghoKE9jRSRN/JLpe1vX9VNwFLfaFUUc541HuqCec5i9B/DJVypkEQOmOgeG6pZS jyZSBzJOdDg5F2vzJy/2Ne00Rt8SvWszxnXgxYCjFipO8fXJdI3CP327huQCcPYE9R3E +wUcyeJkrozHvrfh+lKfBnaqgu5yqbEdhmRpEHXwheghupahFRPtXlweJSLAzy99F2ba sw6PBi2ZzPdJbDQAXRCzPYM2deUAu/bMLmuVlDYtbl22sR3jmHChzW5K9z9ablibsnX8 Gb9Q== 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 j71si5979171oib.213.2019.12.20.21.30.23; Fri, 20 Dec 2019 21:30:37 -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 S1726060AbfLUF3V (ORCPT + 99 others); Sat, 21 Dec 2019 00:29:21 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:56918 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725773AbfLUF3U (ORCPT ); Sat, 21 Dec 2019 00:29:20 -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 80A41153D31DC; Fri, 20 Dec 2019 21:29:19 -0800 (PST) Date: Fri, 20 Dec 2019 21:29:18 -0800 (PST) Message-Id: <20191220.212918.1661751615125167321.davem@davemloft.net> To: p.rajanbabu@samsung.com Cc: netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, peppe.cavallaro@st.com, alexandre.torgue@st.com, Jose.Abreu@synopsys.com, stable@vger.kernel.org, jayati.sahu@samsung.com, pankaj.dubey@samsung.com, rcsekar@samsung.com, sriram.dash@samsung.com Subject: Re: [PATCH] net: stmmac: platform: Fix MDIO init for platforms without PHY From: David Miller In-Reply-To: <1576750621-78066-1-git-send-email-p.rajanbabu@samsung.com> References: <1576750621-78066-1-git-send-email-p.rajanbabu@samsung.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]); Fri, 20 Dec 2019 21:29:20 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Padmanabhan Rajanbabu Date: Thu, 19 Dec 2019 15:47:01 +0530 > The current implementation of "stmmac_dt_phy" function initializes > the MDIO platform bus data, even in the absence of PHY. This fix > will skip MDIO initialization if there is no PHY present. > > Fixes: 7437127 ("net: stmmac: Convert to phylink and remove phylib logic") > Acked-by: Jayati Sahu > Signed-off-by: Sriram Dash > Signed-off-by: Padmanabhan Rajanbabu Applied and queued up for -stable, thanks.