[PATCH 0/7] macintosh: Convert to platform remove callback returning void

Uwe Kleine-König posted 7 patches 1 year, 11 months ago
drivers/macintosh/therm_windtunnel.c | 6 ++----
drivers/macintosh/windfarm_pm112.c   | 6 ++----
drivers/macintosh/windfarm_pm121.c   | 5 ++---
drivers/macintosh/windfarm_pm72.c    | 7 ++-----
drivers/macintosh/windfarm_pm81.c    | 8 +++-----
drivers/macintosh/windfarm_pm91.c    | 8 +++-----
drivers/macintosh/windfarm_rm31.c    | 7 ++-----
7 files changed, 16 insertions(+), 31 deletions(-)
[PATCH 0/7] macintosh: Convert to platform remove callback returning void
Posted by Uwe Kleine-König 1 year, 11 months ago
Hello,

this series converts all drivers below drivers/macintosh to use
.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.

This is merge window material. All patches are pairwise independent of
each other so they can be applied individually. There isn't a maintainer
for drivers/macintosh, I'm still sending this as a series in the hope
Michael feels repsonsible and applies it completely.

Best regards
Uwe

Uwe Kleine-König (7):
  macintosh: therm_windtunnel: Convert to platform remove callback returning void
  macintosh: windfarm_pm112: Convert to platform remove callback returning void
  macintosh: windfarm_pm121: Convert to platform remove callback returning void
  macintosh: windfarm_pm72: Convert to platform remove callback returning void
  macintosh: windfarm_pm81: Convert to platform remove callback returning void
  macintosh: windfarm_pm91: Convert to platform remove callback returning void
  macintosh: windfarm_rm31: Convert to platform remove callback returning void

 drivers/macintosh/therm_windtunnel.c | 6 ++----
 drivers/macintosh/windfarm_pm112.c   | 6 ++----
 drivers/macintosh/windfarm_pm121.c   | 5 ++---
 drivers/macintosh/windfarm_pm72.c    | 7 ++-----
 drivers/macintosh/windfarm_pm81.c    | 8 +++-----
 drivers/macintosh/windfarm_pm91.c    | 8 +++-----
 drivers/macintosh/windfarm_rm31.c    | 7 ++-----
 7 files changed, 16 insertions(+), 31 deletions(-)

base-commit: 8cb47d7cd090a690c1785385b2f3d407d4a53ad0
-- 
2.43.0

Re: [PATCH 0/7] macintosh: Convert to platform remove callback returning void
Posted by Uwe Kleine-König 1 year, 10 months ago
Hello,

On Wed, Jan 10, 2024 at 04:42:47PM +0100, Uwe Kleine-König wrote:
> Hello,
> 
> this series converts all drivers below drivers/macintosh to use
> .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.
> 
> This is merge window material. All patches are pairwise independent of
> each other so they can be applied individually. There isn't a maintainer
> for drivers/macintosh, I'm still sending this as a series in the hope
> Michael feels repsonsible and applies it completely.

this didn't happen yet. Michael, is this still on your radar? Or is
there someone more suiteable to take these patches?

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
Re: [PATCH 0/7] macintosh: Convert to platform remove callback returning void
Posted by Michael Ellerman 1 year, 10 months ago
Uwe Kleine-König <u.kleine-koenig@pengutronix.de> writes:
> Hello,
>
> On Wed, Jan 10, 2024 at 04:42:47PM +0100, Uwe Kleine-König wrote:
>> Hello,
>> 
>> this series converts all drivers below drivers/macintosh to use
>> .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.
>> 
>> This is merge window material. All patches are pairwise independent of
>> each other so they can be applied individually. There isn't a maintainer
>> for drivers/macintosh, I'm still sending this as a series in the hope
>> Michael feels repsonsible and applies it completely.
>
> this didn't happen yet. Michael, is this still on your radar?

Yes, just behind as always. Thanks for the reminder.

cheers