netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] net: dsa: Complete and fix the dsa unbinding
@ 2015-10-02 10:47 Neil Armstrong
  2015-10-02 12:11 ` Neil Armstrong
  0 siblings, 1 reply; 2+ messages in thread
From: Neil Armstrong @ 2015-10-02 10:47 UTC (permalink / raw)
  To: David S. Miller, Jesper Dangaard Brouer; +Cc: netdev, linux-kernel

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 patches are based on the current net-next.

Tested-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>

Neil Armstrong (3):
  net: dsa: Use devm_ prefixed allocations
  net: dsa: complete dsa_switch_destroy calls
  net: dsa: exit probe if no switch were found

 net/dsa/dsa.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 60 insertions(+), 7 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/3] net: dsa: Complete and fix the dsa unbinding
  2015-10-02 10:47 [PATCH 0/3] net: dsa: Complete and fix the dsa unbinding Neil Armstrong
@ 2015-10-02 12:11 ` Neil Armstrong
  0 siblings, 0 replies; 2+ messages in thread
From: Neil Armstrong @ 2015-10-02 12:11 UTC (permalink / raw)
  To: David S. Miller; +Cc: f.fainelli, netdev, linux-kernel, andrew, Guenter Roeck

On 10/02/2015 12:47 PM, 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 no
> switch is found in the discover process.
> 
> The patches are based on the current net-next.
> 
> Tested-by: Andrew Lunn <andrew@lunn.ch>
> Tested-by: Florian Fainelli <f.fainelli@gmail.com>
> 
> Neil Armstrong (3):
>   net: dsa: Use devm_ prefixed allocations
>   net: dsa: complete dsa_switch_destroy calls
>   net: dsa: exit probe if no switch were found
> 
>  net/dsa/dsa.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------
>  1 file changed, 60 insertions(+), 7 deletions(-)
> 
Hi,

Sorry, I forgot to update the CC list, my bad.

I still hope this serie will be applied.

Regards,
Neil

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-02 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-02 10:47 [PATCH 0/3] net: dsa: Complete and fix the dsa unbinding Neil Armstrong
2015-10-02 12:11 ` Neil Armstrong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).