Skip to content

parport: Convert to platform remove callback returning void

Uwe Kleine-König lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2parport: amiga: Convert to platform remove callback returning voiddrivers/parport/parport_amiga.c+2 -30 replies
2/2parport: sunbpp: Convert to platform remove callback returning voiddrivers/parport/parport_sunbpp.c+2 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] parport: Convert to platform remove callback returning void

Hello,

this series converts all drivers below drivers/parport 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. The two patches are independent of each other, so they could be applied individually.

Best regards
Uwe

Uwe Kleine-König (2):
parport: amiga: Convert to platform remove callback returning void
parport: sunbpp: Convert to platform remove callback returning void

 drivers/parport/parport_amiga.c  | 5 ++---
 drivers/parport/parport_sunbpp.c | 6 ++----
 2 files changed, 4 insertions(+), 7 deletions(-)

base-commit: ceb2fe0d438644e1de06b9a6468a1fb8e2199c70

Signature · 1 line
2.42.0