Re: [PATCH 0/2] uio: Convert to platform remove callback returning void

From: Greg Kroah-Hartman
Date: Mon Apr 15 2024 - 03:31:49 EST


On Mon, Apr 15, 2024 at 09:19:00AM +0200, Uwe Kleine-König wrote:
> Hello,
>
> On Fri, Mar 08, 2024 at 10:31:00PM +0100, Uwe Kleine-König wrote:
> > this series converts the two platform drivers below drivers/uio that
> > make use of .remove() to use .remove_new() instead.
> >
> > 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. The drivers here get it right though and so can be
> > converted trivially.
> >
> > This is merge window material. The two patches are independent of each
> > other so they can be applied individually if necessary. But I assume
> > and suggest that Greg will pick them up together.
> >
> > [..]
> >
> > Uwe Kleine-König (2):
> > uio: fsl_elbc_gpcm: Convert to platform remove callback returning void
> > uio: pruss: Convert to platform remove callback returning void
>
> The commit 1019fa4839c9 ("uio: pruss: Remove this driver") (currently in
> next) makes the pruss patch obsolete. The fsl_elbc_gpcm patch was
> applied.

Yes, that's why I only applied one, sorry if I didn't let you know.

greg k-h