On Sat, Oct 29, 2016 at 6:13 PM, Wei Yongjun <weiyj.lk@xxxxxxxxx> wrote: > From: Wei Yongjun <weiyongjun1@xxxxxxxxxx> > > When terminating for_each_available_child_of_node() iteration > with break or return, of_node_put() should be used to prevent > stale device node references from being left behind. > > This is detected by Coccinelle semantic patch. > > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Patch applied with Vladimir's review tag. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html