From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Andrew Lunn <andrew@lunn.ch>
Cc: David Miller <davem@davemloft.net>,
netdev <netdev@vger.kernel.org>,
Florian Fainelli <f.fainelli@gmail.com>,
Heiner Kallweit <hkallweit1@gmail.com>,
Sunil Goutham <sgoutham@marvell.com>,
Robert Richter <rrichter@marvell.com>,
Chris Packham <chris.packham@alliedtelesis.co.nz>
Subject: Re: [PATCH net-next 7/7] net: phy: mdio-octeon: Cleanup module loading dependencies
Date: Mon, 6 Jul 2020 12:38:12 +0200 [thread overview]
Message-ID: <20200706103812.GA11800@kroah.com> (raw)
In-Reply-To: <20200705182921.887441-8-andrew@lunn.ch>
On Sun, Jul 05, 2020 at 08:29:21PM +0200, Andrew Lunn wrote:
> To ensure that the octoen MDIO driver has been loaded, the Cavium
> ethernet drivers reference a dummy symbol in the MDIO driver. This
> forces it to be loaded first. And this symbol has not been cleanly
> implemented, resulting in warnings when build W=1 C=1.
>
> Since device tree is being used, and a phandle points to the PHY on
> the MDIO bus, we can make use of deferred probing. If the PHY fails to
> connect, it should be because the MDIO bus driver has not loaded
> yet. Return -EPROBE_DEFER so it will be tried again later.
>
> Cc: Sunil Goutham <sgoutham@marvell.com>
> Cc: Robert Richter <rrichter@marvell.com>
> Cc: Chris Packham <chris.packham@alliedtelesis.co.nz>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
next prev parent reply other threads:[~2020-07-06 10:38 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-05 18:29 [PATCH net-next 0/7] drivers/net/phy C=1 W=1 fixes Andrew Lunn
2020-07-05 18:29 ` [PATCH net-next 1/7] net: phy: at803x: Avoid comparison is always false warning Andrew Lunn
2020-07-06 18:06 ` Jakub Kicinski
2020-07-05 18:29 ` [PATCH net-next 2/7] net: phy: Fixup parameters in kerneldoc Andrew Lunn
2020-07-05 20:44 ` Florian Fainelli
2020-07-05 18:29 ` [PATCH net-next 3/7] net: phy: Properly define genphy_c45_driver Andrew Lunn
2020-07-05 20:45 ` Florian Fainelli
2020-07-05 18:29 ` [PATCH net-next 4/7] net: phy: Make phy_10gbit_fec_features_array static Andrew Lunn
2020-07-05 20:45 ` Florian Fainelli
2020-07-05 18:29 ` [PATCH net-next 5/7] net: phy: dp83640: Fixup cast to restricted __be16 warning Andrew Lunn
2020-07-05 20:45 ` Florian Fainelli
2020-07-06 6:37 ` Richard Cochran
2020-07-05 18:29 ` [PATCH net-next 6/7] net: phy: cavium: Improve __iomem mess Andrew Lunn
2020-07-05 20:46 ` Florian Fainelli
2020-07-05 18:29 ` [PATCH net-next 7/7] net: phy: mdio-octeon: Cleanup module loading dependencies Andrew Lunn
2020-07-05 20:50 ` Florian Fainelli
2020-07-06 10:38 ` Greg Kroah-Hartman [this message]
2020-07-07 0:30 ` Chris Packham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200706103812.GA11800@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=andrew@lunn.ch \
--cc=chris.packham@alliedtelesis.co.nz \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=rrichter@marvell.com \
--cc=sgoutham@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.