net: dsa: two small bug fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: dsa: handle non-existing PHYs on switch internal busnet/ | +3 | 1 reply | |
| 2/2 | net: dsa: propagate error code from dsa_slave_phy_setupnet/ | +11 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Andrew Lunn |
|---|---|
| 1/2 | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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