CVSROOT: /cvs Module name: src Changes by: [email protected] 2016/04/03 05:22:51
Modified files:
sys/dev/ofw : fdt.c
Log message:
The callers of fdt_next_node() expect it to return NULL if a next node
cannot be found. Due to implementation details, it used to return
a pointer to the next node, without checking if it actually exists.
Modify fdt_next_node() to only return a next node if it actually exists
and implement an internal skip_node() function that keeps the previous
behaviour.
ok mpi@
