[PATCH v3 16/16] drm/tilcdc: Convert to platform remove callback returning void
sarha at kapsi.fi
sarha at kapsi.fi
Tue Nov 28 19:54:31 UTC 2023
November 28, 2023 at 6:49 PM, "Uwe Kleine-König" <u.kleine-koenig at pengutronix.de mailto:u.kleine-koenig at pengutronix.de?to=%22Uwe%20Kleine-K%C3%B6nig%22%20%3Cu.kleine-koenig%40pengutronix.de%3E > wrote:
>
> On Fri, Nov 03, 2023 at 09:58:07AM +0200, Tomi Valkeinen wrote:
>
> >
> > On 02/11/2023 18:56, Uwe Kleine-König wrote:
> > The .remove() callback for a platform driver returns an int which makes
> > many driver authors wrongly assume it's possible to do error handling by
> > returning an error code. However the value returned is (mostly) ignored
> > and this typically results in resource leaks. To improve here there is a
> > quest to make the remove callback return void. In the first step of this
> > quest all drivers are converted to .remove_new() which already returns
> > void.
> > [...]
> >
> > Reviewed-by: Tomi Valkeinen <tomi.valkeinen at ideasonboard.com>
> >
>
> This patch didn't make it into next yet. Who is responsible to pick this
> up?
>
I expected the whole series had been applied at once. But yes, I can apply this patch.
Best regards,
Jyri
> Best regards
> Uwe
>
> --
> Pengutronix e.K. | Uwe Kleine-König |
> Industrial Linux Solutions | https://www.pengutronix.de/|
>
More information about the dri-devel
mailing list