commit | 9404fc85ab2e60fb81c8faaa58349ee1187a2501 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Mar 06 19:45:32 2016 -0700 |
committer | Simon Glass <sjg@chromium.org> | Mon Mar 14 15:34:50 2016 -0600 |
tree | 5d2065b247ca1f0408c9803522a8c65d3db53b10 | |
parent | ab761ce9f9a88067c5834ce6660ba90493a783ea [diff] |
fdtgrep: Improve error handling with invalid device tree This tool requires that the aliases node be the first node in the tree. But when it is not, it does not handle things gracefully. In fact it crashes. Fix this, and add a more helpful error message. Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Masahiro Yamada <yamada.masahiro@socionext.com>