Am Mittwoch, den 06.07.2016, 12:11 +0200 schrieb Lucas Stach: > The called of_graph_get_next_endpoint() already decrements the refcount > of the prev node, so it is wrong to do it again in the calling function. > > Use the for_each_endpoint_of_node() helper to interate through the > endpoint OF nodes, which already does the right thing and simplifies > the code a bit. > > Fixes: 8ccd0d0ca041 > (of: add helper for getting endpoint node of specific identifiers) > Cc: stable@xxxxxxxxxxxxxxx > Reported-by: David Jander <david@xxxxxxxxxxx> > Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> Acked-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> regards Philipp -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html