* [PATCH] net: phy: fix mdio-mscc-miim build
@ 2020-07-13 15:12 Bartosz Golaszewski
2020-07-13 15:18 ` Andrew Lunn
2020-07-14 0:29 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2020-07-13 15:12 UTC (permalink / raw)
To: Andrew Lunn, Florian Fainelli, Heiner Kallweit, Russell King,
David S . Miller, Jakub Kicinski
Cc: netdev, linux-kernel, Bartosz Golaszewski, kernel test robot
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
PHYLIB is not selected by mdio-mscc-miim but it uses mdio devres helpers.
Explicitly select MDIO_DEVRES in this driver's Kconfig entry.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 1814cff26739 ("net: phy: add a Kconfig option for mdio_devres")
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
drivers/net/phy/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index 7ffa8a4529a8e..dd20c2c27c2f6 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -185,6 +185,7 @@ config MDIO_MOXART
config MDIO_MSCC_MIIM
tristate "Microsemi MIIM interface support"
depends on HAS_IOMEM
+ select MDIO_DEVRES
help
This driver supports the MIIM (MDIO) interface found in the network
switches of the Microsemi SoCs; it is recommended to switch on
--
2.26.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] net: phy: fix mdio-mscc-miim build
2020-07-13 15:12 [PATCH] net: phy: fix mdio-mscc-miim build Bartosz Golaszewski
@ 2020-07-13 15:18 ` Andrew Lunn
2020-07-14 0:29 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2020-07-13 15:18 UTC (permalink / raw)
To: Bartosz Golaszewski
Cc: Florian Fainelli, Heiner Kallweit, Russell King,
David S . Miller, Jakub Kicinski, netdev, linux-kernel,
Bartosz Golaszewski, kernel test robot
On Mon, Jul 13, 2020 at 05:12:07PM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
>
> PHYLIB is not selected by mdio-mscc-miim but it uses mdio devres helpers.
> Explicitly select MDIO_DEVRES in this driver's Kconfig entry.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Fixes: 1814cff26739 ("net: phy: add a Kconfig option for mdio_devres")
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] net: phy: fix mdio-mscc-miim build
2020-07-13 15:12 [PATCH] net: phy: fix mdio-mscc-miim build Bartosz Golaszewski
2020-07-13 15:18 ` Andrew Lunn
@ 2020-07-14 0:29 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2020-07-14 0:29 UTC (permalink / raw)
To: brgl
Cc: andrew, f.fainelli, hkallweit1, linux, kuba, netdev,
linux-kernel, bgolaszewski, lkp
From: Bartosz Golaszewski <brgl@bgdev.pl>
Date: Mon, 13 Jul 2020 17:12:07 +0200
> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
>
> PHYLIB is not selected by mdio-mscc-miim but it uses mdio devres helpers.
> Explicitly select MDIO_DEVRES in this driver's Kconfig entry.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Fixes: 1814cff26739 ("net: phy: add a Kconfig option for mdio_devres")
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Applied to net-next, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-14 0:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-13 15:12 [PATCH] net: phy: fix mdio-mscc-miim build Bartosz Golaszewski
2020-07-13 15:18 ` Andrew Lunn
2020-07-14 0:29 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).