Re: [RFC PATCH 0/3] net: dsa: Complete and fix the dsa unbinding

2015-10-01 Thread Vivien Didelot
Hi Neil, On Oct. Thursday 01 (40) 05:06 PM, Neil Armstrong wrote: > On 09/30/2015 07:43 PM, Florian Fainelli wrote: > > On 30/09/15 01:21, Neil Armstrong wrote: > >> In order to cleanly unbind the dsa core, either as a module removal, > >> or a platform device unbind, switch the allocation the the

Re: [RFC PATCH 0/3] net: dsa: Complete and fix the dsa unbinding

2015-10-01 Thread Neil Armstrong
On 09/30/2015 07:43 PM, Florian Fainelli wrote: > On 30/09/15 01:21, Neil Armstrong wrote: >> In order to cleanly unbind the dsa core, either as a module removal, >> or a platform device unbind, switch the allocation the their devm_ >> counterparts and complete the destroy functions. >> >> The last

Re: [RFC PATCH 0/3] net: dsa: Complete and fix the dsa unbinding

2015-10-01 Thread Neil Armstrong
On 09/30/2015 07:43 PM, Florian Fainelli wrote: > On 30/09/15 01:21, Neil Armstrong wrote: >> In order to cleanly unbind the dsa core, either as a module removal, >> or a platform device unbind, switch the allocation the their devm_ >> counterparts and complete the destroy functions. >> >> The last

Re: [RFC PATCH 0/3] net: dsa: Complete and fix the dsa unbinding

2015-09-30 Thread Florian Fainelli
On 30/09/15 01:21, Neil Armstrong wrote: > In order to cleanly unbind the dsa core, either as a module removal, > or a platform device unbind, switch the allocation the their devm_ > counterparts and complete the destroy functions. > > The last patch is an experimental way to exit the probe when n

[RFC PATCH 0/3] net: dsa: Complete and fix the dsa unbinding

2015-09-30 Thread Neil Armstrong
In order to cleanly unbind the dsa core, either as a module removal, or a platform device unbind, switch the allocation the their devm_ counterparts and complete the destroy functions. The last patch is an experimental way to exit the probe when no switch is found in the discover process. The pat