mbox series

[0/7] net: ethernet: Convert to platform remove callback

Message ID 20231117091655.872426-1-u.kleine-koenig@pengutronix.de (mailing list archive)
Headers show
Series net: ethernet: Convert to platform remove callback | expand

Message

Uwe Kleine-König Nov. 17, 2023, 9:16 a.m. UTC
Hello,

after three fixes this series converts the remaining four platform
drivers below drivers/net/ethernet that don't use .remove_new yet to do
that.

See commit 5c5a7680e67b ("platform: Provide a remove callback that
returns no value") for an extended explanation and the eventual goal.
The TL;DR; is to prevent bugs like the three fixed here.

Best regards
Uwe

Uwe Kleine-König (7):
  net: ethernet: ti: am65-cpsw: Don't error out in .remove()
  net: ethernet: ti: cpsw: Don't error out in .remove()
  net: ethernet: ti: cpsw-new: Don't error out in .remove()
  net: ethernet: ti: am65-cpsw: Convert to platform remove callback
    returning void
  net: ethernet: ti: cpsw: Convert to platform remove callback returning
    void
  net: ethernet: ti: cpsw-new: Convert to platform remove callback
    returning void
  net: ethernet: ezchip: Convert to platform remove callback returning
    void

 drivers/net/ethernet/ezchip/nps_enet.c   |  6 ++----
 drivers/net/ethernet/ti/am65-cpsw-nuss.c | 12 +++++++-----
 drivers/net/ethernet/ti/cpsw.c           | 21 ++++++++++++++-------
 drivers/net/ethernet/ti/cpsw_new.c       | 21 ++++++++++++++-------
 4 files changed, 37 insertions(+), 23 deletions(-)

base-commit: eff99d8edbed7918317331ebd1e365d8e955d65e

Comments

Uwe Kleine-König Nov. 17, 2023, 9:27 a.m. UTC | #1
Hello,

On Fri, Nov 17, 2023 at 10:16:56AM +0100, Uwe Kleine-König wrote:
> after three fixes this series converts the remaining four platform
> drivers below drivers/net/ethernet that don't use .remove_new yet to do
> that.
> 
> See commit 5c5a7680e67b ("platform: Provide a remove callback that
> returns no value") for an extended explanation and the eventual goal.
> The TL;DR; is to prevent bugs like the three fixed here.

I completely barfed this series, sorry for that.

I forgot to mention "net-next" in the subject. The first three patches
are fixes, but I don't think they are urgent enough to fasttrack them.

And somehow To: got empty, there must be something fishy in my scripts.
I will take care that this won't happen again.

Mea culpa,
Uwe