Re: [PATCH 7/14] cpu: delete unneeded test before of_node_put

2014-08-10 Thread Benjamin Herrenschmidt
On Fri, 2014-08-08 at 12:07 +0200, Julia Lawall wrote: > From: Julia Lawall > > Simplify the error path to avoid calling of_node_put when it is not needed. > > The semantic patch that finds this problem is as follows: > (http://coccinelle.lip6.fr/) Change the subject to powerpc/4xx/cpm or

Re: [PATCH 7/14] cpu: delete unneeded test before of_node_put

2014-08-10 Thread Benjamin Herrenschmidt
On Fri, 2014-08-08 at 12:07 +0200, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Simplify the error path to avoid calling of_node_put when it is not needed. The semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr/) Change the subject to

[PATCH 7/14] cpu: delete unneeded test before of_node_put

2014-08-08 Thread Julia Lawall
From: Julia Lawall Simplify the error path to avoid calling of_node_put when it is not needed. The semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ -if (e) of_node_put(e); // Signed-off-by: Julia Lawall ---

[PATCH 7/14] cpu: delete unneeded test before of_node_put

2014-08-08 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Simplify the error path to avoid calling of_node_put when it is not needed. The semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression e; @@ -if (e) of_node_put(e); // /smpl Signed-off-by: Julia