mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
205a8eb7ce
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> |
||
---|---|---|
.. | ||
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 |