Details
Details
- Reviewers
- None
- Group Reviewers
ARM
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
sys/dev/fdt/fdt_common.c | ||
---|---|---|
412 | For starters I agree with Andy's comment. I'm having a hard time coming up with a reason why OF_getencprop() wouldn't work and fdt_data_get() would have to be used instead. That said, this is wrong; it only works on little-endian systems. The correct approach would be to do what OF_getencprop() does: ignore the low-quality fdtNN_to_cpu() code and just use be32toh() on each cell individually. |