summaryrefslogtreecommitdiff
path: root/dtc.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2007-12-04 11:49:43 +1100
committerJon Loeliger <jdl@freescale.com>2007-12-04 07:27:08 -0600
commit2d72816ccfdcfd8039ab0b8883f9eeac895984bb (patch)
tree35fce1e48325e1bc495d07e5b209cbcc48ac1e24 /dtc.h
parent2b7dc8dce549ad72ad437b254bf756d7ba4c2a5a (diff)
downloaddtc-2d72816ccfdcfd8039ab0b8883f9eeac895984bb.tar.gz
dtc: Fix uninitialized use of structure_ok
My rework of the tree checking code introduced a potentially nasty bug - it uses the structure_ok variable uninitialized. This patch fixes the problem. It's a fairly ugly bandaid approach, but the ugly will disappear once future patches have folded the semantic checks into the new framework. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc.h')
-rw-r--r--dtc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dtc.h b/dtc.h
index ef91c4c..00a9431 100644
--- a/dtc.h
+++ b/dtc.h
@@ -237,8 +237,8 @@ struct boot_info *build_boot_info(struct reserve_info *reservelist,
/* Checks */
-void process_checks(int force, struct node *dt);
-int check_semantics(struct node *dt, int outversion, int boot_cpuid_phys);
+void process_checks(int force, struct boot_info *bi,
+ int checkflag, int outversion, int boot_cpuid_phys);
/* Flattened trees */