Return standards-compliant code from OF_nextprop() with FDT when no
properties remain on this node.
This commit is contained in:
parent
5f8dfdce49
commit
bb512af9ec
@ -329,7 +329,7 @@ fdt_nextprop(int offset, char *buf, size_t size)
|
||||
depth = -1;
|
||||
} while (depth >= 0);
|
||||
|
||||
return (-1);
|
||||
return (0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user