Skip to content

RFC net: dsa: Complete and fix the dsa unbinding

Neil Armstrong lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: dsa: Use devm_ prefixed allocationsnet/dsa/dsa.c+3 -34 replies
2/3net: dsa: complete dsa_switch_destroy callsnet/dsa/dsa.c+42 -00 replies
3/3net: dsa: exit probe if no switch were foundnet/dsa/dsa.c+15 -44 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchAndrew LunnFlorian Fainelli
1/3T-b T-b
2/3
3/3

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

Read the v1 thread

Cover letter [RFC PATCH 0/3] net: dsa: Complete and fix the dsa unbinding

In order to cleanly unbind the dsa core, either as a module removal, or a platform device unbind, switch the allocation the their devm_ counterparts and complete the destroy functions.

The last patch is an experimental way to exit the probe when no switch is found in the discover process.

The patches are based on the current net-next.

Neil Armstrong (3):
net: dsa: Use devm_ prefixed allocations
net: dsa: complete dsa_switch_destroy calls
net: dsa: exit probe if no switch were found

 net/dsa/dsa.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 60 insertions(+), 7 deletions(-)
Signature · 1 line
1.9.1