Fixed an OF-tree off-by-one bug when adding a new property name.
authorZhang Wei <wei.zhang@freescale.com>
Mon, 28 Aug 2006 06:25:31 +0000 (14:25 +0800)
committerMatthew McClintock <msm@freescale.com>
Wed, 30 Aug 2006 19:33:50 +0000 (14:33 -0500)
commit88c8f4921fc47fb0eb2384b16586f1bd7f275be7
tree9dd072a1b920e8db8d356ed84700919617744cfd
parentb2b78421d9db49c21a821af8a19c21c1f7dfb29e
Fixed an OF-tree off-by-one bug when adding a new property name.
This bug will cause the kernel booting to pause a long time.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
(cherry picked from 2f15776ccc6dc32377d8ba9652b8f58059c27c6d commit)
common/ft_build.c