Files
linux/drivers/of
David Daney fe030b2470 of/address: Don't loop forever in of_find_matching_node_by_address().
commit 3a496b00b6 upstream.

If the internal call to of_address_to_resource() fails, we end up
looping forever in of_find_matching_node_by_address().  This can be
caused by a defective device tree, or calling with an incorrect
matches argument.

Fix by calling of_find_matching_node() unconditionally at the end of
the loop.

Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-21 10:02:20 -07:00
..
2013-12-30 10:23:25 -06:00
2014-02-18 18:12:53 -05:00
2012-07-10 10:32:06 -05:00
2013-10-09 20:03:59 -05:00