Skip to content

net: dsa: two small bug fixes

Florian Fainelli netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: dsa: handle non-existing PHYs on switch internal busnet/dsa/slave.c+3 -01 reply
2/2net: dsa: propagate error code from dsa_slave_phy_setupnet/dsa/slave.c+11 -40 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/2A-b
2/2

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/2] net: dsa: two small bug fixes

Hi David,

Here are two small fixes for the DSA slave interface creation code:

- first patch fixes a null pointer de-reference with an invalid PHY device pointer while calling phy_connect_direct()

- second path propagates the dsa_slave_phy_setup() error code down to its caller: dsa_slave_create

Thanks!

Florian Fainelli (2):
net: dsa: handle non-existing PHYs on switch internal bus
net: dsa: propagate error code from dsa_slave_phy_setup

 net/dsa/slave.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
Signature · 1 line
2.1.0