The patch titled drivers/serial/uartlite.c: Add missing of_node_put has been added to the -mm tree. Its filename is drivers-serial-uartlitec-add-missing-of_node_put.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: drivers/serial/uartlite.c: Add missing of_node_put From: Julia Lawall <julia@xxxxxxx> 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@xxxxxxx> Acked-by: Grant Likely <grant.likely@xxxxxxxxxxxx> Acked-by: Peter Korsgaard <jacmet@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/serial/uartlite.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/serial/uartlite.c~drivers-serial-uartlitec-add-missing-of_node_put drivers/serial/uartlite.c --- a/drivers/serial/uartlite.c~drivers-serial-uartlitec-add-missing-of_node_put +++ a/drivers/serial/uartlite.c @@ -393,6 +393,7 @@ static inline void __init ulite_console_ continue; ulite_ports[id].mapbase = res.start; + of_node_put(np); return; } } _ Patches currently in -mm which might be from julia@xxxxxxx are drivers-serial-uartlitec-add-missing-of_node_put.patch git-alsa.patch drivers-char-remove-unnecessary-pci_dev_put.patch arch-ppc-remove-an-unnecessary-pci_dev_put.patch git-input.patch git-sparc64.patch drivers-video-remove-unnecessary-pci_dev_put.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html