Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1382765ybj; Thu, 7 May 2020 23:26:07 -0700 (PDT) X-Google-Smtp-Source: APiQypKa66DWr2twt0ZVYchEd7UJWD9GGQx4fjJFQbs1m8s1QY6ZGQD00MKd2/D5lqLz72XYDmpM X-Received: by 2002:a50:dac4:: with SMTP id s4mr811296edj.277.1588919167728; Thu, 07 May 2020 23:26:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588919167; cv=none; d=google.com; s=arc-20160816; b=nyK9uYyBMpJId7nvypttLSm+VVV7u19+LCtYRM0iRs7MoMQ/g/WTo3gsDjifv12hh/ neWusP2fl7VRAE/n3drOdHoEU8zOxXAeaZyLk5oakcYJtPOSDB9p22dumXb3zS2OJ9u8 h/wG6GuoAOXbe57qQlYjdkW2UWHo5niYACftbOslwbkhTVMMtRyEq5JAxe9xonwZyFiJ H+xZNS0CQhUASeDciSGDTJXhY2jhI22apX66PgcjFtCxRaE6pOJYVHnNrKnt9We6IVG4 2W8ACLzIre2uc7H4rAr08XrPtpWyp2HhzFPMW9lg/noCn/Kp4kwdlcREw6rTQ34upWJc 7P0g== 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; bh=l07sjg7wad11JybQiwBPplAsmA/VCV2GQr8sTEyBm88=; b=rAYWFhJfSZVBsyGvXu+SEcJEIoV2EYW/Y7MlxcRm6B5RNlt4LYdNWeKNsnEQOyWOg3 uqEaPjEI+yh1GLyXIIxRc3cpY40pXSYlPKh6Led5zu5SaMwN/15ohdGLl9jv95hugDU0 w1WjfvaEOrpms6noSpmWeMgk87r0Zm/fpVgnn9N3eTT3a7s9b2+PlVdAeUD6UIvzVPuY wI/B3OtBeJ/DuBWOSzZWWH+9dM/3auM2/jI+GPdc0dXy0qh2jWFh5OBNF9mnBL+qH/gN JG9bxB6ZfJ4xhtUM+Gqx3VGZEQVQf0nops3wBd2q/Aoqpi8HL6KrsEaqur95ELQjtbJ1 Du/Q== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p9si397441ejf.493.2020.05.07.23.25.44; Thu, 07 May 2020 23:26:07 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727088AbgEHGV2 (ORCPT + 99 others); Fri, 8 May 2020 02:21:28 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:44702 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726815AbgEHGV1 (ORCPT ); Fri, 8 May 2020 02:21:27 -0400 Received: by mail-lj1-f193.google.com with SMTP id a21so433224ljj.11; Thu, 07 May 2020 23:21:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=l07sjg7wad11JybQiwBPplAsmA/VCV2GQr8sTEyBm88=; b=C1Dt6HJA2i7OLmGNc9XeFfcM+njIJrh7SQ8MmMM0w10EYLGbB6nWl5tysAKbyh26NV 92Vr2fknGA27JOLMooDs/pi8KKnsaE4BJ8VLjEu3XWbuCgDKezm2PWVhZdNQT9VlF+Cr e8xxoIPBQPiiPP32vzN0FV6FP2kMUjmQqt4kIXxuNJ/O1NMiyhRh68rZyxUfO85vMG3Y 7rEIjqd07d20ros4Bro7pnu6ce1GoDxeMYDUhLG8n1abhqKhxiK7h5EjO6DMHHYBcjqO 30Xp79qHVkpd6OIfZkp6oq6yP9TVUTqReasmmj5XZdnhXF6HGP8tdN1ONSzr+RMd1Gqe uGtA== X-Gm-Message-State: AOAM532LnT/OWxDGsCuWXIkKI6J1NQMvV5HRcU++9B/lN68BdQtQcidF /aD/BQBnht/6sdswbsr4/9I= X-Received: by 2002:a05:651c:549:: with SMTP id q9mr624525ljp.236.1588918884533; Thu, 07 May 2020 23:21:24 -0700 (PDT) Received: from xi.terra (c-beaee455.07-184-6d6c6d4.bbcust.telenor.se. [85.228.174.190]) by smtp.gmail.com with ESMTPSA id z64sm428692lfa.50.2020.05.07.23.21.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2020 23:21:23 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.92.3) (envelope-from ) id 1jWwNr-0001TQ-0H; Fri, 08 May 2020 08:21:19 +0200 Date: Fri, 8 May 2020 08:21:19 +0200 From: Johan Hovold To: Naresh Kamboju Cc: Greg Kroah-Hartman , Johan Hovold , 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: <20200508062119.GE25962@localhost> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 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. Johan