Skip to content

Fixes for OF_MDIO flag

Dan Murphy lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: dp83869: Fix OF_MDIO config checkdrivers/net/phy/dp83869.c+1 -11 reply
2/4net: dp83867: Fix OF_MDIO config checkdrivers/net/phy/dp83867.c+1 -11 reply
3/4net: marvell: Fix OF_MDIO config checkdrivers/net/phy/marvell.c+1 -11 reply
4/4net: mscc: Fix OF_MDIO config checkdrivers/net/phy/mscc/mscc.h drivers/net/phy/mscc/mscc_main.c+3 -31 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchFlorian Fainelli
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/4] Fixes for OF_MDIO flag

Hello

There are some residual drivers that check the CONFIG_OF_MDIO flag using the if defs. Using this check does not work when the OF_MDIO is configured as a module. Using the IS_ENABLED macro checks if the flag is declared as built-in or as a module.

Dan

Dan Murphy (4):
net: dp83869: Fix OF_MDIO config check
net: dp83867: Fix OF_MDIO config check
net: marvell: Fix OF_MDIO config check
net: mscc: Fix OF_MDIO config check

 drivers/net/phy/dp83867.c        | 2 +-
 drivers/net/phy/dp83869.c        | 2 +-
 drivers/net/phy/marvell.c        | 2 +-
 drivers/net/phy/mscc/mscc.h      | 2 +-
 drivers/net/phy/mscc/mscc_main.c | 4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
2.26.2