Skip to content

Don't return NULL from get_phy_device() anymore

Sergei Shtylyov netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5phylib: don't return NULL from get_phy_device()drivers/net/phy/phy_device.c+1 -19 replies
2/5xgene: get_phy_device() doesn't return NULL anymoredrivers/net/ethernet/apm/xgene/xgene_enet_hw.c+1 -11 reply
3/5fixed_phy: get_phy_device() doesn't return NULL anymoredrivers/net/phy/fixed_phy.c+1 -11 reply
4/5mdio_bus: get_phy_device() doesn't return NULL anymoredrivers/net/phy/mdio_bus.c+1 -11 reply
5/5of_mdio: get_phy_device() doesn't return NULL anymoredrivers/of/of_mdio.c+1 -12 replies

Reviews trailers per patch

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

PatchFlorian Fainelli
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-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 0/5] Don't return NULL from get_phy_device() anymore

Hello.

Here's the set of 5 patches against DaveM's 'net-next.git' repo. The first
patch makes get_phy_device() return only error values on error, the rest of the patches clean up the callers of that function...

[1/5] phylib-don-t-return-NULL-from-get_phy_device.patch [2/5] xgene-get_phy_device-doesn-t-return-NULL-anymore.patch [3/5] fixed_phy-get_phy_device-doesn-t-return-NULL-anymore.patch [4/5] mdio_bus-get_phy_device-doesn-t-return-NULL-anymore.patch [5/5] of_mdio-get_phy_device-doesn-t-return-NULL-anymore.patch

MBR, Sergei