kernel_optimize_test/scripts/dtc
Stephen Warren 205a8eb7ce dtc: fix for_each_*() to skip first object if deleted
The previous definition of for_each_*() would always include the very
first object within the list, irrespective of whether it was marked
deleted, since the deleted flag was not checked on the first object,
but only on any "next" object.

Fix for_each_*() to check the deleted flag in the loop body every
iteration to correct this.

(upstream dtc commit 1762ab42ef77db7ab2776d0d6cba3515150f518a)

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
2012-10-17 15:53:04 -05:00
..
libfdt
.gitignore
checks.c
data.c
dtc-lexer.l
dtc-lexer.lex.c_shipped
dtc-parser.tab.c_shipped
dtc-parser.tab.h_shipped
dtc-parser.y
dtc.c
dtc.h
fdtdump.c
fdtget.c
fdtput.c
flattree.c
fstree.c
livetree.c
Makefile
Makefile.dtc
srcpos.c
srcpos.h
treesource.c
util.c
util.h
version_gen.h