Julia Lawall 76832d8416 drivers/serial/uartlite.c: Add missing of_node_put
There should be an of_node_put when breaking out of a loop that iterates
using for_each_compatible_node.

This was detected and fixed using the following semantic patch.
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
identifier d;
type T;
expression e;
iterator for_each_compatible_node;
@@

T *d;
...
for_each_compatible_node(d,...)
  {... when != of_node_put(d)
       when != e = d
(
   return d;
|
+  of_node_put(d);
?  return ...;
)
...}
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-12-10 19:43:55 -08:00
..
2007-10-17 08:42:52 -07:00
2006-12-08 08:28:57 -08:00
2007-10-19 11:53:42 -07:00
2007-10-10 16:47:58 +08:00
2006-12-08 08:28:57 -08:00
2007-11-14 18:45:46 -08:00
2007-11-14 18:45:46 -08:00
2006-12-07 08:39:41 -08:00
2007-11-29 09:24:53 -08:00
2007-07-18 08:38:22 -07:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2007-02-14 08:09:52 -08:00
2006-12-08 08:28:57 -08:00
2007-09-11 17:21:19 -07:00
2007-11-07 14:54:32 +09:00
2007-09-25 22:49:37 -07:00
2006-12-08 08:28:57 -08:00
2007-07-18 08:38:22 -07:00
2007-07-18 08:38:22 -07:00