Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Alexander Shishkin
Uwe Kleine-König writes: > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also return void from their remove callback. >

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Mathieu Poirier
On Tue, 6 Jul 2021 at 03:56, Uwe Kleine-König wrote: > > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also return void f

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Yehezkel Bernat
On Tue, Jul 6, 2021 at 12:50 PM Uwe Kleine-König wrote: > > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also return voi

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Geoff Levand
On 7/6/21 2:50 AM, Uwe Kleine-König wrote: > --- a/arch/powerpc/platforms/ps3/system-bus.c > +++ b/arch/powerpc/platforms/ps3/system-bus.c > @@ -381,7 +381,7 @@ static int ps3_system_bus_probe(struct device *_dev) > return result; > } > > -static int ps3_system_bus_remove(struct device *_

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Juergen Gross
On 06.07.21 11:50, Uwe Kleine-König wrote: The driver core ignores the return value of this callback because there is only little it can do when a device disappears. This is the final bit of a long lasting cleanup quest where several buses were converted to also return void from their remove cal

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Uwe Kleine-König
On Tue, Jul 06, 2021 at 01:17:37PM +0200, Cornelia Huck wrote: > On Tue, Jul 06 2021, Cornelia Huck wrote: > > > On Tue, Jul 06 2021, Uwe Kleine-König > > wrote: > > > >> The driver core ignores the return value of this callback because there > >> is only little it can do when a device disappea

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Heikki Krogerus
On Tue, Jul 06, 2021 at 11:50:37AM +0200, Uwe Kleine-König wrote: > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also re

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Maximilian Luz
On 7/6/21 11:50 AM, Uwe Kleine-König wrote: The driver core ignores the return value of this callback because there is only little it can do when a device disappears. This is the final bit of a long lasting cleanup quest where several buses were converted to also return void from their remove ca

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Cornelia Huck
On Tue, Jul 06 2021, Cornelia Huck wrote: > On Tue, Jul 06 2021, Uwe Kleine-König wrote: > >> The driver core ignores the return value of this callback because there >> is only little it can do when a device disappears. >> >> This is the final bit of a long lasting cleanup quest where several >>

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Kirti Wankhede
On 7/6/2021 3:20 PM, Uwe Kleine-König wrote: The driver core ignores the return value of this callback because there is only little it can do when a device disappears. This is the final bit of a long lasting cleanup quest where several buses were converted to also return void from their remov

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Alexandre Belloni
On 06/07/2021 11:50:37+0200, Uwe Kleine-König wrote: > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also return void fro

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Cornelia Huck
On Tue, Jul 06 2021, Uwe Kleine-König wrote: > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also return void from their

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Johan Hovold
On Tue, Jul 06, 2021 at 11:50:37AM +0200, Uwe Kleine-König wrote: > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also re

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Vinod Koul
On 06-07-21, 11:50, Uwe Kleine-König wrote: > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also return void from their r

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Mauro Carvalho Chehab
Em Tue, 6 Jul 2021 11:50:37 +0200 Uwe Kleine-König escreveu: > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also retu

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Pali Rohár
On Tuesday 06 July 2021 11:50:37 Uwe Kleine-König wrote: > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also return void

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Chen-Yu Tsai
On Tue, Jul 6, 2021 at 5:54 PM Uwe Kleine-König wrote: > > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also return void

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Mark Brown
On Tue, Jul 06, 2021 at 11:50:37AM +0200, Uwe Kleine-König wrote: > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. Acked-by: Mark Brown signature.asc Description: PGP signature

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Russell King (Oracle)
On Tue, Jul 06, 2021 at 11:50:37AM +0200, Uwe Kleine-König wrote: > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also re

[PATCH] bus: Make remove callback return void

2021-07-06 Thread Uwe Kleine-König
The driver core ignores the return value of this callback because there is only little it can do when a device disappears. This is the final bit of a long lasting cleanup quest where several buses were converted to also return void from their remove callback. Additionally some resource leaks were

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Johannes Thumshirn
On 06/07/2021 12:36, Lee Jones wrote: > On Tue, 06 Jul 2021, Uwe Kleine-König wrote: > >> The driver core ignores the return value of this callback because there >> is only little it can do when a device disappears. >> >> This is the final bit of a long lasting cleanup quest where several >> buses

Re: [PATCH] bus: Make remove callback return void

2021-07-06 Thread Lee Jones
On Tue, 06 Jul 2021, Uwe Kleine-König wrote: > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also return void from their