Re: [RFC PATCH 1/3] net: dsa: Use devm_ prefixed allocations

2015-09-30 Thread Florian Fainelli
On 30/09/15 01:21, Neil Armstrong wrote: > To simplify and prevent memory leakage when unbinding, use > the devm_ memory allocation calls. > > Signed-off-by: Neil Armstrong For this entire series, on BCM7445 (using bcm_sf2) Tested-by: Florian Fainelli Thanks! -- Florian -- To unsubscribe fro

Re: [RFC PATCH 1/3] net: dsa: Use devm_ prefixed allocations

2015-09-30 Thread Florian Fainelli
On 30/09/15 14:34, Fabio Estevam wrote: > On Wed, Sep 30, 2015 at 5:21 AM, Neil Armstrong > wrote: >> To simplify and prevent memory leakage when unbinding, use >> the devm_ memory allocation calls. >> >> Signed-off-by: Neil Armstrong >> --- >> net/dsa/dsa.c | 6 +++--- >> 1 file changed, 3 ins

Re: [RFC PATCH 1/3] net: dsa: Use devm_ prefixed allocations

2015-09-30 Thread Fabio Estevam
On Wed, Sep 30, 2015 at 5:21 AM, Neil Armstrong wrote: > To simplify and prevent memory leakage when unbinding, use > the devm_ memory allocation calls. > > Signed-off-by: Neil Armstrong > --- > net/dsa/dsa.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/net/dsa/

Re: [RFC PATCH 1/3] net: dsa: Use devm_ prefixed allocations

2015-09-30 Thread Andrew Lunn
Hi Neil I tested all three patches on a board with three switches. 1) Normal boot 2) Bad address set for the 3rd switch so that it was not found, so causing the probe to fail. No regressions observed. Tested-by: Andrew Lunn As Florian said, this is going in the right direction for modular

[RFC PATCH 1/3] net: dsa: Use devm_ prefixed allocations

2015-09-30 Thread Neil Armstrong
To simplify and prevent memory leakage when unbinding, use the devm_ memory allocation calls. Signed-off-by: Neil Armstrong --- net/dsa/dsa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index c59fa5d..98f94c2 100644 --- a/net/dsa/dsa.c