mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] OF: base: fix inifinite looping in node iterators
@ 2013-07-03 22:46 Sebastian Hesselbarth
  2013-07-03 22:46 ` [PATCH 1/3] OF: base: fix infinite loop in of_find_node_by_name Sebastian Hesselbarth
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Sebastian Hesselbarth @ 2013-07-03 22:46 UTC (permalink / raw)
  To: Sebastian Hesselbarth; +Cc: barebox

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@lists.infradead.org
Cc: Hiroki Nishimoto <hiroki.nishimoto.if@gmail.com>
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-07-09  6:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-03 22:46 [PATCH 0/3] OF: base: fix inifinite looping in node iterators Sebastian Hesselbarth
2013-07-03 22:46 ` [PATCH 1/3] OF: base: fix infinite loop in of_find_node_by_name Sebastian Hesselbarth
2013-07-04  6:58   ` Sascha Hauer
2013-07-04  7:13     ` Sebastian Hesselbarth
2013-07-04 17:12     ` Sebastian Hesselbarth
2013-07-05  6:50       ` Sascha Hauer
2013-07-05 21:19         ` [PATCH] OF: base: initalize from node in of_find_node_with_property Sebastian Hesselbarth
2013-07-09  6:55           ` Sascha Hauer
2013-07-03 22:46 ` [PATCH 2/3] OF: base: fix infinite loop in of_find_compatible_node Sebastian Hesselbarth
2013-07-03 22:46 ` [PATCH 3/3] OF: base: fix infinite loop in of_find_node_with_property Sebastian Hesselbarth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox