commit | 54382390e40654957e16da7ba48ee86822ffe590 | [log] [tgz] |
---|---|---|
author | David Gibson <david@gibson.dropbear.id.au> | Wed Jan 31 15:45:26 2007 +1100 |
committer | Jon Loeliger <jdl@freescale.com> | Wed Jan 31 07:39:57 2007 -0600 |
tree | e107015f2841e710c9623f1e7884e76225e93e95 | |
parent | e6dd3f1d3cf54558187aa2a180cf4ad4ab10d8ad [diff] |
Bugfix for CHECK_HAVE_WARN_PHANDLE() At present, the tree checking code in dtc will die with an assertion failure if given a tree which has the invalid value 0 or -1 in a property which should contain a phandle. This patch fixes the check to die more gracefully with an error message indicating the invalid phandle value. Signed-off-by: David Gibson <dwg@au1.ibm.com>