[PATCH 0/3] OF: base: fix inifinite looping in node iterators
Sebastian Hesselbarth
sebastian.hesselbarth at gmail.com
Wed Jul 3 18:46:15 EDT 2013
Node iterators imported from linux and converted to barebox struct
device_node suffer from infinite looping because of missing check for
root node. Hiroki Nishimoto already reported this for
of_find_matching_node_and_match where a separate patch has been sent.
This patch set also fixes the same issue for other node iterators.
Sebastian Hesselbarth (3):
OF: base: fix infinite loop in of_find_node_by_name
OF: base: fix infinite loop in of_find_compatible_node
OF: base: fix infinite loop in of_find_node_with_property
drivers/of/base.c | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
---
Cc: barebox at lists.infradead.org
Cc: Hiroki Nishimoto <hiroki.nishimoto.if at gmail.com>
--
1.7.10.4
More information about the barebox
mailing list