1 From e3a356dd422147d4d96aa0c9378551363b1a5b99 Mon Sep 17 00:00:00 2001
2 From: Matthias Reichl <hias@horus.com>
3 Date: Tue, 15 Mar 2016 21:13:39 +0100
4 Subject: [PATCH 189/381] scripts/dtc: Fix UMR causing corrupt dtbo overlay
7 struct fixup_entry is allocated from the heap but it's member
8 local_fixup_generated was never initialized. This lead to
11 Fix this by initializing local_fixup_generated to false.
13 Signed-off-by: Matthias Reichl <hias@horus.com>
15 scripts/dtc/checks.c | 1 +
16 1 file changed, 1 insertion(+)
18 --- a/scripts/dtc/checks.c
19 +++ b/scripts/dtc/checks.c
20 @@ -523,6 +523,7 @@ static void fixup_phandle_references(str
22 fe->offset = m->offset;
24 + fe->local_fixup_generated = false;
26 /* append it to the local fixups */
27 fep = &dt->local_fixups;