Thread (7 messages) flat view 7 messages, 3 authors, 2015-10-03

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

From: Felix Fietkau <hidden>
Date: 2015-10-02 13:25:19
Also in: lkml

On 2015-10-02 12:48, Neil Armstrong wrote:
To simplify and prevent memory leakage when unbinding, use
the devm_ memory allocation calls.

Tested-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Neil Armstrong <redacted>
I think you also need to get rid of the corresponding free calls in the
error path, otherwise it will probably crash at some point.

- Felix
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help