net: cpsw: fix leaks and probe deferral
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 5 repliesIn review
- v17 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | net: ethernet: ti: cpsw: fix bad register access in probe error pathdrivers/ | +7 | 0 replies | |
| 2/7 | net: ethernet: ti: cpsw: fix mdio device reference leakdrivers/ | +1 | 0 replies | |
| 3/7 | net: ethernet: ti: cpsw: fix deferred probedrivers/ | +24 | 0 replies | |
| 4/7 | net: ethernet: ti: cpsw: fix of_node and phydev leaksdrivers/ | +35 | 0 replies | |
| 5/7 | net: ethernet: ti: cpsw: fix secondary-emac probe error pathdrivers/ | +3 | 0 replies | |
| 6/7 | net: ethernet: ti: cpsw: add missing sanity checkdrivers/ | +3 | 0 replies | |
| 7/7 | net: ethernet: ti: cpsw: fix fixed-link phy probe deferraldrivers/ | +7 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH net v2 0/7] net: cpsw: fix leaks and probe deferral
This series fixes as number of leaks and issues in the cpsw probe-error and driver-unbind paths, some which specifically prevented deferred probing.
Johan
v2
- Keep platform device runtime-resumed throughout probe instead of resuming in the probe error path as suggested by Grygorii (patch 1/7).
- Runtime-resume platform device before registering any children in order to make sure it is synchronously suspended after deregistering children in the error path (patch 3/7).
Johan Hovold (7):
net: ethernet: ti: cpsw: fix bad register access in probe error path
net: ethernet: ti: cpsw: fix mdio device reference leak
net: ethernet: ti: cpsw: fix deferred probe
net: ethernet: ti: cpsw: fix of_node and phydev leaks
net: ethernet: ti: cpsw: fix secondary-emac probe error path
net: ethernet: ti: cpsw: add missing sanity check
net: ethernet: ti: cpsw: fix fixed-link phy probe deferral
drivers/net/ethernet/ti/cpsw.c | 95 ++++++++++++++++++++++++++++++++---------- 1 file changed, 74 insertions(+), 21 deletions(-)
Signature · 1 line
2.7.3