Re: [PATCH net-next] net: dsa: add missing of_node_put

2019-02-22 Thread Himadri Pandya
On 22/02/19 8:06 PM, Andrew Lunn wrote: On Fri, Feb 22, 2019 at 04:48:18PM +0530, Himadri Pandya wrote: Decrement the reference count on port while returning out of the loop. Issue identified by Coccinelle. You and Wen Yang are both fixing the same issue. Maybe you can coordinate? Sure. -

Re: [PATCH net-next] net: dsa: add missing of_node_put

2019-02-22 Thread Andrew Lunn
On Fri, Feb 22, 2019 at 04:48:18PM +0530, Himadri Pandya wrote: > Decrement the reference count on port while returning out of the > loop. Issue identified by Coccinelle. You and Wen Yang are both fixing the same issue. Maybe you can coordinate? Andrew

[PATCH net-next] net: dsa: add missing of_node_put

2019-02-22 Thread Himadri Pandya
Decrement the reference count on port while returning out of the loop. Issue identified by Coccinelle. Signed-off-by: Himadri Pandya --- net/dsa/dsa2.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/net/dsa/dsa2.c b/net/dsa/dsa2.c index