[PATCH wifi-next 0/6] wifi: Convert to platform remove callback returning void

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Fri Nov 17 01:30:57 PST 2023


Hello,

this series converts the platform drivers below drivers/net/wireless to
make use of .remove_new().

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 make it harder for driver authors to leak resources
without noticing.

Best regards
Uwe

Uwe Kleine-König (6):
  wifi: ath11k: Convert to platform remove callback returning void
  wifi: ath5k: Convert to platform remove callback returning void
  wifi: ath9k: Convert to platform remove callback returning void
  wifi: wcn36xx: Convert to platform remove callback returning void
  wifi: brcmfmac: Convert to platform remove callback returning void
  wifi: mt76: Convert to platform remove callback returning void

 drivers/net/wireless/ath/ath11k/ahb.c                     | 6 ++----
 drivers/net/wireless/ath/ath5k/ahb.c                      | 8 +++-----
 drivers/net/wireless/ath/ath9k/ahb.c                      | 6 ++----
 drivers/net/wireless/ath/wcn36xx/main.c                   | 6 ++----
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c | 6 ++----
 drivers/net/wireless/mediatek/mt76/mt7603/soc.c           | 7 ++-----
 drivers/net/wireless/mediatek/mt76/mt7615/soc.c           | 6 ++----
 drivers/net/wireless/mediatek/mt76/mt7915/soc.c           | 6 ++----
 8 files changed, 17 insertions(+), 34 deletions(-)

base-commit: eff99d8edbed7918317331ebd1e365d8e955d65e
-- 
2.42.0




More information about the linux-arm-kernel mailing list