Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1587932ybj; Fri, 8 May 2020 05:04:37 -0700 (PDT) X-Google-Smtp-Source: APiQypL57nu01uxvq+m0hC+BbYdFIGmHAkU5iaw4/P7l2YDRXCAtvPW/b3H+YeVblXxT2YuLXB+C X-Received: by 2002:a17:906:e210:: with SMTP id gf16mr1632795ejb.214.1588939477489; Fri, 08 May 2020 05:04:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588939477; cv=none; d=google.com; s=arc-20160816; b=grgsPDvrbzCQXj/E9VcjDadNAuwd5iIdndy4hBRIcoOalFmPejqs2SEt2Id1LpXgpm /6jfURRZghW/Z34aKrLeYHU/9is7N7wfl+X5ourqF91Lrv73+3YDibfJ2XiPzoqipGDJ XJLlTjPeAzaoWx+1KmQ9gukYDjPtQXkHv7p3SxsbjmOn27/hcNNwpGc2lfyy248pr2Tk Uydv5I6lVMxFOCdES37Uw3SazW0N8Frg9m4TAaGqCbzk5AC3vk5ghVbIBoalP8toGOdf QBJvx8hhaeYXtvvSO6wskRfXtnl+6vGo9HTFGttO0Y5DKZlF6CbYFlODeQEot3Bqxq15 tW0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=J/sSo/s6JqNiPHElorRqdQibqIvCVS4m375VF3kTW5U=; b=Zg5jIgmOJmmQOxtnHufDkSO4so9Ok4GsF7aB5DC2uBSFlweRg9RJ6eW7wKmborUReG e2TiK/r3vSW+l7qooexnDNBydNfdKOHci4+DV+MRMRDWsEAwJE1W7gUSJ1HBlFXQ6mwb fio+NWfzvWbS00/ROYhXOnFxG22HaAV4q84J1VPj/5cXYTldxngsxFAiMZpgd7lwMJSX 5jXTWKtTorWlqTAUF9nZ9tpUbjxFVL8obLsWR9eXT/RSEYvUFw0/+NAjimzk9PI1LKH6 gXuBJuBY2ry+pAR1zmzjmMIKgl6hSp1ZpEVQXE5QsTVQrzfLGWdYQQAKPq+Z8NGGb703 pxsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Twetzls2; 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 q7si785173ejz.377.2020.05.08.05.04.12; Fri, 08 May 2020 05:04:37 -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; dkim=pass header.i=@kernel.org header.s=default header.b=Twetzls2; 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 S1727099AbgEHMCJ (ORCPT + 99 others); Fri, 8 May 2020 08:02:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:48438 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726618AbgEHMCI (ORCPT ); Fri, 8 May 2020 08:02:08 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 44B0B208DB; Fri, 8 May 2020 12:02:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588939327; bh=MVgAInBlHbFucqqOMS2zpzCl41mt8McPbpWInuTvt7A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Twetzls2F3Jeu+KmG5FUOutvjCz/WoqfrsBaX8GvAALNLGFDnKHPy8LdLPUulm0yK tBOfN6D3JwamP0kQgp3199ol6mSEtcR3ZeMDY8UHhllndREBSrWk/ouW1UclYwkLr1 L125iRZ6ei661Ah3Bz5HYH2pfNhM462Cs2rBmyg0= Date: Fri, 8 May 2020 14:02:05 +0200 From: Greg Kroah-Hartman To: Johan Hovold Cc: Naresh Kamboju , linux- stable , Sasha Levin , "David S. Miller" , Florian Fainelli , Fugang Duan , Pantelis Antoniou , Thomas Petazzoni , Matthias Brugger , Sergei Shtylyov , Lars Persson , Grygorii Strashko , Rob Herring , Frank Rowand , Andrew Lunn , Netdev , nios2-dev@lists.rocketboards.org, open list , linuxppc-dev@lists.ozlabs.org, linux-mediatek@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-omap@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , lkft-triage@lists.linaro.org Subject: Re: [PATCH net 11/16] net: ethernet: marvell: mvneta: fix fixed-link phydev leaks Message-ID: <20200508120205.GA4089177@kroah.com> References: <1480357509-28074-1-git-send-email-johan@kernel.org> <1480357509-28074-12-git-send-email-johan@kernel.org> <20200507064412.GL2042@localhost> <20200507064734.GA798308@kroah.com> <20200507111312.GA1497799@kroah.com> <20200508062119.GE25962@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200508062119.GE25962@localhost> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 08, 2020 at 08:21:19AM +0200, Johan Hovold wrote: > On Fri, May 08, 2020 at 03:35:02AM +0530, Naresh Kamboju wrote: > > On Thu, 7 May 2020 at 16:43, Greg Kroah-Hartman > > wrote: > > > > > > > > > > > > > > > Greg, 3f65047c853a ("of_mdio: add helper to deregister fixed-link > > > > > PHYs") needs to be backported as well for these. > > > > > > > > > > Original series can be found here: > > > > > > > > > > https://lkml.kernel.org/r/1480357509-28074-1-git-send-email-johan@kernel.org > > > > > > > > Ah, thanks for that, I thought I dropped all of the ones that caused > > > > build errors, but missed the above one. I'll go take the whole series > > > > instead. > > > > > > This should now all be fixed up, thanks. > > > > While building kernel Image for arm architecture on stable-rc 4.4 branch > > the following build error found. > > > > of_mdio: add helper to deregister fixed-link PHYs > > commit 3f65047c853a2a5abcd8ac1984af3452b5df4ada upstream. > > > > Add helper to deregister fixed-link PHYs registered using > > of_phy_register_fixed_link(). > > > > Convert the two drivers that care to deregister their fixed-link PHYs to > > use the new helper, but note that most drivers currently fail to do so. > > > > Signed-off-by: Johan Hovold > > Signed-off-by: David S. Miller > > [only take helper function for 4.4.y - gregkh] > > > > # make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm > > CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache > > arm-linux-gnueabihf-gcc" O=build zImage > > 70 # > > 71 ../drivers/of/of_mdio.c: In function ‘of_phy_deregister_fixed_link’: > > 72 ../drivers/of/of_mdio.c:379:2: error: implicit declaration of > > function ‘fixed_phy_unregister’; did you mean ‘fixed_phy_register’? > > [-Werror=implicit-function-declaration] > > 73 379 | fixed_phy_unregister(phydev); > > 74 | ^~~~~~~~~~~~~~~~~~~~ > > 75 | fixed_phy_register > > 76 ../drivers/of/of_mdio.c:381:22: error: ‘struct phy_device’ has no > > member named ‘mdio’; did you mean ‘mdix’? > > 77 381 | put_device(&phydev->mdio.dev); /* of_phy_find_device() */ > > 78 | ^~~~ > > 79 | mdix > > Another dependency: 5bcbe0f35fb1 ("phy: fixed: Fix removal of phys.") > > Greg, these patches are from four years ago so can't really remember if > there are other dependencies or reasons against backporting them (the > missing stable tags are per Dave's preference), sorry. > > The cover letter also mentions another dependency, but that may just > have been some context conflict. > > Perhaps you better drop these unless you want to review them closer. Good idea, I've dropped them all for now, sorry for the noise. greg k-h